/// <summary> /// Disposes of this instance. /// </summary> public void Dispose() { if (_mDnsClient != null) { _mDnsClient.Dispose(); _mDnsClient = null; } }
/// <summary> /// Initializes a new instance of the ServiceDiscoveryClient class. /// </summary> public ServiceDiscoveryClient() { _mDnsClient = new MulticastDnsClient(); _dnsClient = new UnicastDnsClient(); }