CryptoSys PKI Toolkit Manual

Pwd.Prompt Method (Int32, String, String)

Opens a dialog box to receive a password

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

Return Value

String containing password or Empty string if user cancels

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: PWD_PromptEx

[Contents] [Index]

[HOME]   [NEXT: Rng.Bytes Method (Int32)...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.