public bool UnSubscribeOutputDevice(OutputSubscriptionRequest subReq) { var deviceInfo = DiscoveryManager.FindDeviceInfo(subReq.DeviceDescriptor.DeviceHandle); if (deviceInfo == null) { return(false); } return(DescriptorManager.StopOutputDevice(deviceInfo)); }
public DeviceReport GetOutputDeviceReport(DeviceDescriptor deviceDescriptor) { return(DiscoveryManager.FindDeviceInfo(deviceDescriptor.DeviceHandle).DeviceReport); }