private static void Main(string[] args) { Console.WriteLine("Прогресс загрузки"); Registry status1 = new Registry(); status1.Registry_status(); Explorer status2 = new Explorer(); status2.Explorer_status(); Windows_API status3 = new Windows_API(); status3.Windows_API_status(); Kernel status4 = new Kernel(); status4.Kernel_status(); DirectX status5 = new DirectX(); status5.DirectX_status(); User status6 = new User(); status6.User_status(); Service status7 = new Service(); status7.Service_status(); Processes status8 = new Processes(); status8.Processes_status(); ManagerProcesses status9 = new ManagerProcesses(); status9.NumberService(); status9.Number_Processes(); UserInfo ui = new UserInfo(); Console.WriteLine("Старое количество программ"); Console.WriteLine(ui.NumberP); ui.NumberP = 26; Console.WriteLine("Новое количество программ"); Console.WriteLine(ui.NumberP); Console.WriteLine("Имя пользователя"); Console.WriteLine(ui.Name); // ////////////////////////////////////////////////////////Serialization XML JSON Binary interface_ISerializer ISerialize = new interface_ISerializer(); ISerialize.Serialize(); ISerialize.Deserialize(); // ////////////////////////////////////////////////////////Serialization XML JSON Binary Console.ReadLine(); } // Главная программа
/// <summary> /// Основной метод загружающий все модули /// </summary> /// <param name="args"></param> public static void Main(string[] args) { LogException newlog = new LogException(); newlog.write_log(); Console.WriteLine("Прогресс загрузки"); //Registry status1 = new Registry(); //status1.Registry_status(); Explorer status2 = new Explorer(); status2.Explorer_status(); Windows_API status3 = new Windows_API(); status3.Windows_API_status(); Kernel status4 = new Kernel(); status4.Kernel_status(); DirectX status5 = new DirectX(); status5.DirectX_status(); User status6 = new User(); status6.User_status(); Service status7 = new Service(); status7.Service_status(); Processes status8 = new Processes(); status8.Processes_status(); ManagerProcesses status9 = new ManagerProcesses(); status9.NumberService(); status9.Number_Processes(); UserInfo ui = new UserInfo(); Read_konfig_autodown _Read_konfig_autodown = new Read_konfig_autodown(); _Read_konfig_autodown.read_file(); Console.WriteLine("Старое количество программ"); Console.WriteLine(ui.NumberP); ui.NumberP = 26; Console.WriteLine("Новое количество программ"); Console.WriteLine(ui.NumberP); Console.WriteLine("Имя пользователя"); Console.WriteLine(ui.Name); // ____________________________________________________________________Serialization XML JSON Binary try { interface_ISerializer ISerialize = new interface_ISerializer(); ISerialize.Serialize(); ISerialize.Deserialize(); } catch (Exception) { Console.WriteLine("Не сработала сериализация"); Console.ReadLine(); } // ____________________________________________________________________Serialization XML JSON Binary Console.ReadLine(); } // Главная программа