internal void FireDeviceRemovedEvent(DeviceRemovedEventArgs e) { DeviceRemovedEventHandler del = OnDeviceRemoved; if (del != null) del(this, e); }
public int OnDeviceRemoved(string DeviceId) { DeviceRemovedEventArgs arg = new DeviceRemovedEventArgs(DeviceId); _DeviceEnumerator.FireDeviceRemovedEvent(arg); return 0; }