RNGCryptoServiceProvider.GetBytes Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

NameDescription
System_CAPS_pubmethodGetBytes(Byte[])

Fills an array of bytes with a cryptographically strong sequence of random values.(Overrides RandomNumberGenerator.GetBytes(Byte[]).)

System_CAPS_pubmethodGetBytes(Byte[], Int32, Int32)

Fills the specified byte array with a cryptographically strong random sequence of values.(Inherited from RandomNumberGenerator.)

Return to top
Show: