Open a dialog box to receive a password with user-supplied prompt.
public static string Prompt( int maxChars, string caption, string prompt = "" )
Public Shared Function Prompt ( maxChars As Integer, caption As String, Optional prompt As String = "" ) As String
string s = Pwd.Prompt(32, "My caption for the dialog here", "My new prompt:"); Console.WriteLine("Password=[{0}]", s); // Demo only!
VB6/C equivalent: PWD_Prompt