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]