Click or drag to resize

RandomNumberGenerator Methods

The RandomNumberGenerator type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreate Creates an instance of the default implementation of a cryptographic random number generator that can be used to generate random data.
Public methodStatic memberCreate(String) Creates an instance of the specified implementation of a cryptographic random number generator.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetBytes When overridden in a derived class, fills an array of bytes with a cryptographically strong random sequence of values.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNonZeroBytes When overridden in a derived class, fills an array of bytes with a cryptographically strong random sequence of nonzero values.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also