System.Security.Cryptography (mscorlib.dll) | sealed class |
public sealed class RNGCryptoServiceProvider : RandomNumberGenerator {
// Public Constructors
public RNGCryptoServiceProvider( );
public RNGCryptoServiceProvider(byte[ ] rgb);
public RNGCryptoServiceProvider(CspParameters cspParams);
public RNGCryptoServiceProvider(string str);
// Public Instance Methods
public override void GetBytes(byte[ ] data);
// overrides RandomNumberGenerator
public override void GetNonZeroBytes(byte[ ] data);
// overrides RandomNumberGenerator
// Protected Instance Methods
protected override void Finalize( );
// overrides object
}
This subclass of RandomNumberGenerator is the
default random number generator implementation, and is a wrapper
around the Windows Crypto API.
Hierarchy
System.Object
RandomNumberGenerator
RNGCryptoServiceProvider
|