Abtract base class for all implementations of cryptographic-quality random number generators (RNG). 
			[
Edit]
		
				See Also:
				RandomNumberGenerator Members
[System.Runtime.InteropServices.ComVisible(true)] public abstract class  RandomNumberGenerator |  
  | 
Remarks
The following example use the default random number generator (RNG) defined on the current computer to generate random data.
| C# Example | 
byte[] buffer = new byte [16];
RandomNumberGenerator rng = RandomNumberGenerator.Create ();
rng.GetBytes (buffer);
    | 
All symmetric keys and initialization vectors (IV) are generated using the default RNG. Asymmetric key pairs also use the default RNG to create big integers.
 
			[Edit]
		
Requirements
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0