private void AddNewDevice(JA.IDevice ja_device) { try { JabraHeadset device = new JabraHeadset(ja_device); devices.Add(device); DeviceAdded(this, new DeviceEventArgs(device)); } catch (System.IO.FileNotFoundException) { Utils.PluginLog("Jabra Provider", "Unable to add new device"); } }
public JabraHeadset(JA.IDevice device) { this.device = device; device_path = device.UsbDevicePath; device_name = device.Name; }