MediaCaptureInitializationSettings.DeviceUriPasswordCredential 属性

定义

获取或设置 PasswordCredential 对象,该对象表示用于访问要初始化的远程捕获设备的凭据。

public:
 property PasswordCredential ^ DeviceUriPasswordCredential { PasswordCredential ^ get(); void set(PasswordCredential ^ value); };
PasswordCredential DeviceUriPasswordCredential();

void DeviceUriPasswordCredential(PasswordCredential value);
public PasswordCredential DeviceUriPasswordCredential { get; set; }
var passwordCredential = mediaCaptureInitializationSettings.deviceUriPasswordCredential;
mediaCaptureInitializationSettings.deviceUriPasswordCredential = passwordCredential;
Public Property DeviceUriPasswordCredential As PasswordCredential

属性值

用于访问远程捕获设备的凭据。

Windows 要求

设备系列
Windows 10, version 2004 (在 10.0.19041.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v10.0 中引入)

适用于