Namespace: System.Security.Cryptography
RNGCryptoServiceProvider
Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
Methods (1)
void GetBytes(Byte[])
Fills an array of bytes with a cryptographically strong sequence of random values.
| Parameter | Description |
|---|---|
| data | The array to fill with a cryptographically strong sequence of random values. |