Represents the abstract class from which all implementations of cryptographic random number generators derive.
<ComVisibleAttribute(True)> _ Public MustInherit Class RandomNumberGenerator _ Implements IDisposable
[ComVisibleAttribute(true)] public abstract class RandomNumberGenerator : IDisposable
[ComVisibleAttribute(true)] public ref class RandomNumberGenerator abstract : IDisposable
[<AbstractClassAttribute>] [<ComVisibleAttribute(true)>] type RandomNumberGenerator = class interface IDisposable end
Cryptographic random number generators create cryptographically strong random values.
Application code does not directly use this class. This abstract class is provided as the base class for all cryptographic random number generators.
For an implementation of a cryptographic random number generator, use the derived class RNGCryptoServiceProvider.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2