예제 #1
0
 public void StartSSDPDiscovery()
 {
     _client = NetworkServices.CreateSSDPClient();
     _client.ShowDiagnostics = true;
     _client.NewDeviceFound += _client_NewDeviceFound;
     _client.SsdpQueryAsync(port: 1900);
 }
예제 #2
0
        public override void Start()
        {
            _logger.NotifyUserInfo("TCPIP Mgr", $"Started Watcher");

            _ssdpClient = NetworkServices.GetSSDPClient();
            _ssdpClient.ShowDiagnostics = true;
            _ssdpClient.NewDeviceFound += _ssdpClient_NewDeviceFound;
            _ssdpClient.SsdpQueryAsync(port: Constants.UPNPListenPort);
        }
예제 #3
0
        protected override void StartWatcher()
        {
            _logger.NotifyUserInfo("TCPIP Mgr", $"Started Watcher");

            _ssdpClient = NetworkServices.GetSSDPClient();
            _ssdpClient.ShowDiagnostics = true;
            _ssdpClient.NewDeviceFound += _ssdpClient_NewDeviceFound;
            _ssdpClient.SsdpQueryAsync(port: 1900);
        }