Пример #1
0
 public VM()
 {
     NetCtrl    = new NetCtrl();
     SQLCtrl    = new SQLCtrl();
     DataCenter = new DataCenter();
     Ips        = new ObservableCollection <ServerIp>();
     foreach (var item in NetCtrl.GetLocalIP())
     {
         if (!item.ToString().Contains("%"))
         {
             Ips.Add(new ServerIp(item));
         }
     }
 }