title: Does DnssdServiceInstance work on Windows IoT
body: <p>I'm trying to get DNS-SD working on windows 10 IoT but i can't see the advertisement to working. RegisterStreamSocketListenerAsync returns success so I'm not sure why its not working.  </p>
  
  <pre><code>namespace BackgroundApplication1
  {
      public sealed class StartupTask : IBackgroundTask
      {
          private BackgroundTaskDeferral deferral;
          private StreamSocketListener _socket;
          private DnssdServiceInstance _service;
  
          public async void Run(IBackgroundTaskInstance taskInstance)
          {
              deferral = taskInstance.GetDeferral();
  
              try
              {
                  // Create a listening socket to watch for incoming connections from other apps 
                  _socket = new StreamSocketListener();
  
                  await _socket.BindServiceNameAsync("2222", SocketProtectionLevel.PlainSocket);
  
                  // Create a DNS-SD Service Instance 
                  DnssdServiceInstance chatServ =
                                       new DnssdServiceInstance("SimpleChatApp._sca._tcp.local.", null, 2222);
  
                  // Can add optional text attributes (key-val pairs) as well
                  chatServ.TextAttributes.Add("MaxConcurrentUsers", "20");
                  chatServ.TextAttributes.Add("Locale", "En-US");
  
                  // Register Service
                  var registrationResult
                                     = await chatServ.RegisterStreamSocketListenerAsync(_socket);
  
  
              }
              catch (Exception ex)
              {
  
                  throw;
              }        
          }        
      }
  }
  </code></pre>