Returns an array of bytes with a cryptographically strong random sequence of values.
Namespace:
Rebex.Security.Cryptography
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function GetRandomBytes ( _ count As Integer _ ) As Byte() |
| C# |
|---|
public static byte[] GetRandomBytes( int count ) |
Parameters
- count
- Type: System..::..Int32
Array length.