コード例 #1
0
ファイル: WebCameraId.cs プロジェクト: xhhha123/WebEye
 /// <summary>
 /// Initializes a new instance of the WebCameraId class.
 /// </summary>
 internal WebCameraId(DirectShowProxy.VideoInputDeviceInfo info)
 {
     _name       = info.FriendlyName;
     _devicePath = info.DevicePath;
 }
コード例 #2
0
 private void SaveVideoDevice(ref DirectShowProxy.VideoInputDeviceInfo info)
 {
     _captureDevices.Add(new WebCameraId(info));
 }