Unregister DNS-SD service on Windows.Networking.ServiceDiscovery.Dnssd API
<p>I can register a DNS-SD service correctly but i'am not able to unregister a DNS-SD service from the local network . I've tried using <code>Dispose()</code> method to close the <code>StreamSocketListener</code>, but doesn't work . </p>

<p>Code of method to register the service is below. Anyone can help me remove the service from the local network</p>

<pre><code>private async void RegisterService()
{          
    listener = new StreamSocketListener();
    await listener.BindServiceNameAsync("");
    listenServ = new DnssdServiceInstance("service._type._tcp.local", null, 211);

    try
    {
        var result = await listenServ.RegisterStreamSocketListenerAsync(listener);                  
    }
    catch (Exception exp)
    {
        //error
    }
}        
</code></pre>