GetBytes Method

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(Byte())

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

System_CAPS_pubmethodGetBytes(Byte(), Int32, Int32)

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

Return to top
Show:
© 2016 Microsoft