System.Security.Cryptography.RandomNumberGenerator Members

The members of System.Security.Cryptography.RandomNumberGenerator are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Public Methods

static
Create() : RandomNumberGenerator

When overridden in a derived class, creates an instance of the default implementation of a cryptographic random number generator that can be used to generate random data.

static
Create(string) : RandomNumberGenerator

When overridden in a derived class, creates an instance of the specified implementation of a cryptographic random number generator.

Dispose()

When overridden in a derived class, releases all resources used by the current instance of the System.Security.Cryptography.RandomNumberGenerator class.

abstract
GetBytes(byte[])

When overridden in a derived class, fills an array of bytes with a cryptographically strong random sequence of values.

GetNonZeroBytes(byte[])

When overridden in a derived class, fills an array of bytes with a cryptographically strong random sequence of nonzero values.

Protected Methods

Dispose(bool)

When overridden in a derived class, releases the unmanaged resources used by the System.Security.Cryptography.RandomNumberGenerator and optionally releases the managed resources.