예제 #1
0
 /// <summary>
 /// Enumerates hosts that may be accessed for server discovery.
 /// </summary>
 public string[] EnumerateHosts()
 {
     return(ComUtils.EnumComputers());
 }
예제 #2
0
 /// <summary>
 /// Returns a list of host names which could contain OPC servers.
 /// </summary>
 /// <returns>List of available network host names.</returns>
 public static List <string> GetHostNames()
 {
     return(ComUtils.EnumComputers());
 }