← Interactive API Explorer
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.
ParameterDescription
dataThe array to fill with a cryptographically strong sequence of random values.