예제 #1
0
        public bool UnSubscribeOutputDevice(OutputSubscriptionRequest subReq)
        {
            var deviceInfo = DiscoveryManager.FindDeviceInfo(subReq.DeviceDescriptor.DeviceHandle);

            if (deviceInfo == null)
            {
                return(false);
            }
            return(DescriptorManager.StopOutputDevice(deviceInfo));
        }
예제 #2
0
 public DeviceReport GetOutputDeviceReport(DeviceDescriptor deviceDescriptor)
 {
     return(DiscoveryManager.FindDeviceInfo(deviceDescriptor.DeviceHandle).DeviceReport);
 }