コード例 #1
0
ファイル: MachineOperations.cs プロジェクト: KriszW/docshowv2
        public static void Restart(string asztalszam = "")
        {
            RestartOperations restart = new RestartOperations();

            List <string> ips = MachineDataMethods.GetIPs(asztalszam);

            restart.SendRestart(ips, true);
        }
コード例 #2
0
ファイル: MachineOperations.cs プロジェクト: KriszW/docshowv2
        public static void Shutdown(string asztalszam = "")
        {
            List <string> ips = MachineDataMethods.GetIPs(asztalszam);

            ShutdownOperations.ShutdownByIP(ips);
        }