Beispiel #1
0
        static void Main(string[] args)
        {
            var watchdog = new Watchdog();

            watchdog.Attach((p) =>
            {
                Console.WriteLine(p.ProcessName);
            },
                            out Guid callbackId);

            watchdog.Run();


            Console.ReadLine();
        }