public static void GetBytes(
byte[] buffer
)Public Shared Sub GetBytes (
buffer As Byte()
)public:
static void GetBytes(
array<unsigned char>^ buffer
)Gemstone.Security.Cryptography.Random.GetBytes = function(buffer);The length of the byte array determines how many cryptographically strong random bytes are produced.
This method is thread safe.
| CryptographicException | The cryptographic service provider (CSP) cannot be acquired. |
| ArgumentNullException | buffer is null. |