示例#1
0
 /// <summary>
 /// Displays a prompt and waits for the user to enter a string.
 /// The string contents are not displayed as they are typed.
 /// </summary>
 /// <param name="prompt">prompt to display</param>
 /// <returns>string that was entered</returns>
 public static string ReadPassword(string prompt)
 {
     return(manager.ReadPassword(prompt));
 }