본문 바로가기

C#.Net20

외부 프로그램 실행 및 종료이벤트 처리[퍼옴] 출처: https://imcyber.tistory.com/264 [C#] 외부 프로그램 실행시키고,종료이벤트 처리 C#으로 응용프로그램 프로세스를 실행시키고, 에러가 발생했을 때 강제 종료 시키고 다시 응용프로그램을 실행시키도록 Launcher 프로그램을 만들었다. 그런데 Tray Icon으로 숨겨지는 프로그램, Dial imcyber.tistory.com 2024. 3. 5.
외부 프로그램 실행 및 위치, 사이즈 조정 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics; using System.Runtime.InteropServices; using System.IO; using System.Threading; namespace UnitConnTest { public partial class Form5 : Form { [DllImport("user32.. 2024. 3. 5.
Windows 작업 스케줄 API 참고 Site : github.com/dahall/taskscheduler dahall/TaskScheduler Provides a .NET wrapper for the Windows Task Scheduler. It aggregates the multiple versions, provides an editor and allows for localization. - dahall/TaskScheduler github.com 참고 소스 2020. 12. 8.
Windows 암호정책 확인하는 Class using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using System.Security.Principal; using System.Text; using System.Threading.Tasks; namespace SAM_API_Test { public class SamServer : IDisposable { private IntPtr _handle; public SamServer(string name, SERVER_ACCESS_MASK access) { Name = name; Check(SamConnect(new U.. 2020. 12. 1.