Pwd.Prompt Method (Int32, String)
Open a dialog box to receive a password.
Syntax
[C#]
public static string Prompt(
int maxChars,
string caption
)
[VB.NET]
Public Shared Function Prompt ( _
maxChars As Integer, _
caption As String _
) As String
Parameters
- maxChars
- Maximum characters expected in password
- caption
- Caption for dialog window
Return Value
String containing password or Empty string if user cancels
See Also
VB6/C equivalent: PWD_Prompt
[Contents] [Index]