Méthode | Description | |
---|---|---|
CryptoRandom ( ) : System |
Initializes a new instance of the CryptoRandom class.
|
|
CryptoRandom ( |
Initializes a new instance of the CryptoRandom class.
|
|
Next ( ) : |
Returns a nonnegative random number.
|
|
Next ( |
Returns a nonnegative random number less than the specified maximum.
|
|
Next ( |
Returns a random number within a specified range.
|
|
NextBytes ( byte buffer ) : void |
Fills the elements of a specified array of bytes with random numbers.
|
|
NextDouble ( ) : double |
Returns a random number between 0.0 and 1.0.
|
public CryptoRandom ( |
||
ignoredSeed | seed (ignored) | |
Résultat | System |
public Next ( |
||
maxValue | The exclusive upper bound of the random number to be generated. |
|
Résultat |
public Next ( |
||
minValue | The inclusive lower bound of the random number returned. | |
maxValue | The exclusive upper bound of the random number returned. |
|
Résultat |
public NextBytes ( byte buffer ) : void | ||
buffer | byte | An array of bytes to contain random numbers. |
Résultat | void |