コード例 #1
0
 /// <summary>
 /// Disposes of this instance.
 /// </summary>
 public void Dispose()
 {
     if (_mDnsClient != null)
     {
         _mDnsClient.Dispose();
         _mDnsClient = null;
     }
 }
コード例 #2
0
 /// <summary>
 /// Disposes of this instance.
 /// </summary>
 public void Dispose()
 {
     if (_mDnsClient != null)
     {
         _mDnsClient.Dispose();
         _mDnsClient = null;
     }
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the ServiceDiscoveryClient class.
 /// </summary>
 public ServiceDiscoveryClient()
 {
     _mDnsClient = new MulticastDnsClient();
     _dnsClient = new UnicastDnsClient();
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the ServiceDiscoveryClient class.
 /// </summary>
 public ServiceDiscoveryClient()
 {
     _mDnsClient = new MulticastDnsClient();
     _dnsClient  = new UnicastDnsClient();
 }