CapyKit/Documentation/Help/M_CapyKit_Helpers_SecurityHelper_GetRandomBytes.md

1,018 B

GetRandomBytes Method

Generates a new byte array of the specified length with random values.

Definition

Namespace: CapyKit.Helpers
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d

C#

private static byte[] GetRandomBytes(
	int length
)

F#

private static member GetRandomBytes : 
        length : int -> byte[] 

Parameters

  Int32
The desired length of the generated byte array.

Return Value

Byte[]
A new byte array of the specified length filled with random values.

See Also

Reference

SecurityHelper Class
CapyKit.Helpers Namespace