RandomNumberGenerator.GetBytes Method

.NET Framework 4.5

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method GetBytes(Byte()) When overridden in a derived class, fills an array of bytes with a cryptographically strong random sequence of values.
Public method GetBytes(Byte(), Int32, Int32) Fills the specified byte array with a cryptographically strong random sequence of values.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft