RNGCryptoServiceProvider.GetBytes Method

.NET Framework 4.6 and 4.5

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[]) Fills an array of bytes with a cryptographically strong sequence of random values. (Overrides RandomNumberGenerator.GetBytes(Byte[]).)
Public method GetBytes(Byte[], Int32, Int32) Fills the specified byte array with a cryptographically strong random sequence of values. (Inherited from RandomNumberGenerator.)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft