Пример #1
0
 internal UpnpSearcher(IIPAddressesProvider ipprovider)
 {
     _ipprovider  = ipprovider;
     UdpClients   = CreateUdpClients();
     _devices     = new Dictionary <Uri, NatDevice>();
     _lastFetched = new Dictionary <IPAddress, DateTime>();
 }
Пример #2
0
        internal UpnpSearcher(IIPAddressesProvider ipprovider)
        {
            _ipprovider = ipprovider;
            Sockets = CreateSockets();
            _devices = new Dictionary<Uri, NatDevice>();
			_lastFetched = new Dictionary<IPAddress, DateTime>();
        }
Пример #3
0
 internal PmpSearcher(IIPAddressesProvider ipprovider)
 {
     _ipprovider = ipprovider;
     _timeout    = 250;
     CreateSocketsAndAddGateways();
 }
Пример #4
0
 internal PmpSearcher(IIPAddressesProvider ipprovider)
 {
     _ipprovider = ipprovider;
     _timeout = 250;
     CreateSocketsAndAddGateways();
 }