RandomNumberGenerator.GetBytes Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, fills an array of bytes with a cryptographically strong, random sequence of values.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- data
- Type:
System.Byte
[]
The array to fill with cryptographically strong, random bytes.
Show: