Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft