예제 #1
0
 private static void RestartRouter()
 {
     HuaweiRouter router = new HuaweiRouter();
     router.PrintDebugMessages = options.Debug;
     router.BaseAddress = "http://192.168.1.1/";
     router.Login("admin", options.Password);
     router.GetNetworkInformation();
     router.Reboot();
 }