Click or drag to resize

PwdPrompt Method

Open a dialog box to receive a password with user-supplied prompt.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntax
public static string Prompt(
	int maxChars,
	string caption,
	string prompt = ""
)

Parameters

maxChars  Int32
Maximum characters expected in password
caption  String
Caption for dialog window
prompt  String  (Optional)
Wording for prompt (optional, default="Enter password:")

Return Value

String
String containing password or Empty string if user cancels
See Also