Esempio n. 1
0
        static void Main(string[] args)
        {
            string imageName;

            if (args.Length == 0)
            {
                Console.Write("Please enter image name to close : ");
                imageName = Console.ReadLine();
            }
            else
            {
                imageName = args.First();
            }
            WinApi.CloseApplication(imageName);
        }