Mono.Nat.UpnpSearcher.DeviceSetupComplete C# (CSharp) Method

DeviceSetupComplete() private method

private DeviceSetupComplete ( INatDevice device ) : void
device INatDevice
return void
        private void DeviceSetupComplete(INatDevice device)
        {
            lock (this.devices)
            {
                // We don't want the same device in there twice
                if (devices.Contains(device))
                    return;

                devices.Add(device);
            }

            OnDeviceFound(new DeviceEventArgs(device));
        }