Skip to main content
CredentialPickerOptions.TargetName | targetName property

Gets or sets the name of the target computer.

Syntax


var targetName = credentialPickerOptions.targetName;
credentialPickerOptions.targetName = targetName;

public string TargetName { get; set; }

Public Property TargetName As String

public:
property String^ TargetName { 
   String^ get();
   void set (String^ value);
}

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

Name of the target computer. The default value is the caller's computer.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Security.Credentials.UI
Windows::Security::Credentials::UI [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Security.Credentials.UI
Windows::Security::Credentials::UI [C++]

Metadata

Windows.winmd

See also

CredentialPickerOptions