private void OpenSocket()
        {
            if (ssdpSocket != null && ssdpSocket.IsConnected)
                return;
            ssdpSocket = new SsdpSocket();

            ssdpSocket.MessageReceivedChanged += SsdpSocketOnMessageReceivedChanged;
        }
 public void Stop()
 {
     if (ssdpSocket != null)
     {
         ssdpSocket.Close();
         ssdpSocket = null;
     }
 }