CryptoSys PKI Pro Manual

Pwd.Prompt Method

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

Syntax

[C#]
public static string Prompt(
	int maxChars,
	string caption,
	string prompt
)
[VB.NET]
Public Shared Function Prompt ( _
	maxChars As Integer, _
	caption As String, _
	prompt As String _
) As String

Parameters

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

Return Value

String containing password or Empty string if user cancels

See Also

VB6/C equivalent: PWD_Prompt

[Contents] [Index]

[PREV: Prf.Bytes Method...]   [Contents]   [Index]   
   [NEXT: Rng.Bytes Method (Int32)...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.