Dela via


MediaCaptureInitializationSettings.DeviceUriPasswordCredential Property

Definition

Gets or sets the PasswordCredential object representing the credentials used to access the remote capture device to be initialized.

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

Property Value

The credentials used to access the remote capture device.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Applies to