Exemplo n.º 1
0
 private void SaveVideoDevice(ref DirectShowProxy.VideoInputDeviceInfo info)
 {
     if (!string.IsNullOrEmpty(info.DevicePath))
     {
         _captureDevices.Add(new WebCameraId(info));
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the WebCameraId class.
 /// </summary>
 internal WebCameraId(DirectShowProxy.VideoInputDeviceInfo info)
 {
     this.Name       = info.FriendlyName;
     this.DevicePath = info.DevicePath;
 }
Exemplo n.º 3
0
 private void SaveVideoDevice(ref DirectShowProxy.VideoInputDeviceInfo info)
 {
     this._captureDevices.Add(new WebCameraId(info));
 }