CryptoSys PKI Pro Manual

Rng.BytesWithPrompt(Int32, String, Rng.Strength) Method

Generate an array of random bytes with a prompt for random keyboard input.

Syntax

[C#]
public static byte[] BytesWithPrompt(
   int numBytes,
   string prompt,
   Rng.Strength strength 
)
[VB]
Public Shared Function BytesWithPrompt (
   numBytes As Integer,
   prompt As String,
   strength As Rng.Strength 
) As Byte()

Parameters

numBytes  Int32
Required number of random bytes
prompt  String
Alternative prompt. Set as an empty string "" for the default prompt.
strength  Rng.Strength
Required security strength

Return Value

Byte
Array of random bytes

See Also

VB6/C equivalent: RNG_BytesWithPrompt

[Contents] [Index]

[PREV: Rng.BytesWithPrompt(Int32, Rng.Strength) Method...]   [Contents]   [Index]   
   [NEXT: Rng.Guid Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-21T05:59:39Z.