CredentialPromptDialog.MaxPasswordLength Property

DotRas SDK

Collapse image Expand Image Copy image CopyHover image
Gets or sets the maximum length of the password.

Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)

Syntax

C#
public int MaxPasswordLength { get; set; }
Visual Basic
Public Property MaxPasswordLength As Integer
	Get
	Set
Visual C++
public:
property int MaxPasswordLength {
	int get ();
	void set (int value);
}
F#
member MaxPasswordLength : int with get, set

Property Value

Type: Int32

Exceptions

Exception Condition
System..::..ArgumentException value must be greater than or equal to zero, and less than or equal to 256.

See Also