CryptoSys PKI Toolkit Manual

Rng.Bytes Method (Int32)

Generates an array of random bytes

Syntax

[C#]
public static byte[] Bytes(
	int numBytes
)
[VB.NET]
Public Shared Function Bytes ( _
	numBytes As Integer _
) As Byte()

Parameters

numBytes
Required number of random bytes

Return Value

Array of random bytes

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: RNG_Bytes

[Contents] [Index]

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

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