RandomNumberGenerator RandomNumberGenerator RandomNumberGenerator Constructor

Definition

Initializes a new instance of RandomNumberGenerator.

protected:
 RandomNumberGenerator();
protected RandomNumberGenerator ();
Protected Sub New ()

Remarks

You cannot create an instance of an abstract class. Application code will create a new instance of a derived class. For an implementation of a cryptographic random number generator, use the derived class RNGCryptoServiceProvider.

Applies to

See also