private void SaveVideoDevice(ref DirectShowProxy.VideoInputDeviceInfo info) { if (!string.IsNullOrEmpty(info.DevicePath)) { _captureDevices.Add(new WebCameraId(info)); } }
/// <summary> /// Initializes a new instance of the WebCameraId class. /// </summary> internal WebCameraId(DirectShowProxy.VideoInputDeviceInfo info) { _name = info.FriendlyName; _devicePath = info.DevicePath; }
private void SaveVideoDevice(ref DirectShowProxy.VideoInputDeviceInfo info) { this._captureDevices.Add(new WebCameraId(info)); }