public int OnDeviceAdded(string DeviceId) { DeviceAddedEventArgs arg = new DeviceAddedEventArgs(DeviceId); _DeviceEnumerator.FireDeviceAddedEvent(arg); return(0); }