Ejemplo n.º 1
0
 public NetworkComputersPopup(IPopupInput input)
     : base(input)
 {
     var networkBrowser = new NetworkBrowser();
     _networkComputers = StringPopupItem.GetEnumerable(networkBrowser.GetNetworkComputers());
     ListItems = _networkComputers;
 }
Ejemplo n.º 2
0
 static void ShowShares()
 {
     var nws = new NetworkBrowser();
     var shares = nws.GetNetworkComputers();
     foreach (var s in shares)
     {
         Console.WriteLine(s);
     }
 }