Base class for all random generators
Constructor | Description |
Full Usage:
RandomGenerator()
|
Constructs the random generator with a seed value of 0. |
Full Usage:
RandomGenerator(new_seed)
Parameters:
uint32
-
The initial seed value.
|
Constructs the random generator with a seed value.
|
Full Usage:
RandomGenerator(hashstring)
Parameters:
string
-
The hash value of this string is used for the initial seed value.
|
Constructs the random generator with a seed using the hash value of a given string.
|
Instance member | Description |
Full Usage:
this.Long
Returns: uint32
The next random value.
Modifiers: abstract |
The generation function.
|
Full Usage:
this.Maximum
Returns: uint32
|
The maximum value of the random number which can be returned.
|
Full Usage:
this.Seed
Returns: uint32
|
The seed value.
|
Static member | Description |
|
The default random generator used to produce random values.
|
Full Usage:
RandomGenerator.UniqueSeed()
Returns: uint32
A seed value in the range [0, 2^31-1].
|
Generate an unique seed using the default seed generator, which is currently RNGCryptoServiceProvider
|