RNGCryptoServiceProvider

RNGCryptoServiceProvider

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



Programming. NET Security
Programming .Net Security
ISBN: 0596004427
EAN: 2147483647
Year: 2005
Pages: 346

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net