Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var dataManager = new FullDataManager();

            dataManager.GetComputerSummary();

            Console.WriteLine("\nHardware list: \n");
            foreach (var item in dataManager.GetHardwareList())
            {
                Console.WriteLine(item);
            }

            Console.WriteLine("\nApplication list: \n");
            foreach (var item in dataManager.GetApplicationList())
            {
                Console.WriteLine(item);
            }
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            var fullDataManager = new FullDataManager();
            //fullDataManager.GetHardwareListFromRemote();

            var hardwareList     = fullDataManager.GetHardwareList();
            var applicationsList = fullDataManager.GetApplicationList();

            Console.WriteLine("Hardware: ");
            foreach (var hard in hardwareList)
            {
                Console.WriteLine(hard);
            }

            Console.WriteLine("-------------------");
            Console.WriteLine("Applications:");
            foreach (var app in applicationsList)
            {
                Console.WriteLine(app);
            }
            Console.WriteLine("-------------------");
            Console.ReadLine();
        }