共用方式為


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 引進)

適用於