CryptoSys PKI Pro Manual

Example: Pwd.Prompt  Pwd.PromptEx 

[VB6 equivalent: PWD_PromptEx]

Dim strPassword As String

strPassword = Pwd.Prompt(512, "Demo of PWD_PromptEx", "Type secret phrase:")
' Do something with the password...
If strPassword.Length > 0 Then
    Console.WriteLine("Password entered=" & strPassword)
Else
    Console.WriteLine("Empty password entered or User Cancelled")
End If
' Clean up
strPassword = ""

See Also:

[Contents] [Index]

[PREV: Example: General.Version ...]   [Contents]   [Index]   
   [NEXT: Example: Rng.Bytes ...]

Copyright © 2004-23 D.I. Management Services Pty Ltd. All rights reserved. Generated 2023-09-18T10:02:53Z.