RandomNumberGenerator::GetBytes Method

.NET Framework (current version)
 

Fills an array of bytes with a cryptographically strong random sequence of values.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodGetBytes(array<Byte>^)

When overridden in a derived class, fills an array of bytes with a cryptographically strong random sequence of values.

System_CAPS_pubmethodGetBytes(array<Byte>^, Int32, Int32)

Fills the specified byte array with a cryptographically strong random sequence of values.

Return to top
Show: