Crypto |
public sealed class CryptoRandomSource : RandomSource, IDisposable
The CryptoRandomSource type exposes the following members.
Name | Description | |
---|---|---|
CryptoRandomSource | Construct a new random number generator with a random seed. | |
CryptoRandomSource(Boolean) | Construct a new random number generator with random seed. | |
CryptoRandomSource(RandomNumberGenerator) | Construct a new random number generator with random seed. | |
CryptoRandomSource(RandomNumberGenerator, Boolean) | Construct a new random number generator with random seed. |
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the CryptoRandomSource | |
Doubles(Double) | Fills an array with random numbers greater than or equal to 0.0 and less than 1.0. | |
Doubles(Int32) | Returns an array of random numbers greater than or equal to 0.0 and less than 1.0. | |
DoubleSequence | Returns an infinite sequence of random numbers greater than or equal to 0.0 and less than 1.0. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Next |
Returns a random 32-bit signed integer greater than or equal to zero and less than MaxValue.
(Inherited from RandomSource) | |
Next(Int32) |
Returns a random number less then a specified maximum.
(Inherited from RandomSource) | |
Next(Int32, Int32) |
Returns a random number within a specified range.
(Inherited from RandomSource) | |
NextBytes |
Fills the elements of a specified array of bytes with random numbers.
(Inherited from RandomSource) | |
NextDouble | Returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0. (Inherited from Random) | |
NextDoubles(Double) |
Fills an array with uniform random numbers greater than or equal to 0.0 and less than 1.0.
(Inherited from RandomSource) | |
NextDoubles(Int32) |
Returns an array of uniform random numbers greater than or equal to 0.0 and less than 1.0.
(Inherited from RandomSource) | |
NextDoubleSequence |
Returns an infinite sequence of uniform random numbers greater than or equal to 0.0 and less than 1.0.
(Inherited from RandomSource) | |
NextInt32s(Int32) |
Returns an array with random 32-bit signed integers greater than or equal to zero and less than MaxValue.
(Inherited from RandomSource) | |
NextInt32s(Int32) |
Fills an array with random 32-bit signed integers greater than or equal to zero and less than MaxValue.
(Inherited from RandomSource) | |
NextInt32s(Int32, Int32) |
Returns an array with random 32-bit signed integers within the specified range.
(Inherited from RandomSource) | |
NextInt32s(Int32, Int32) |
Fills an array with random numbers within a specified range.
(Inherited from RandomSource) | |
NextInt32s(Int32, Int32, Int32) |
Returns an array with random 32-bit signed integers within the specified range.
(Inherited from RandomSource) | |
NextInt32s(Int32, Int32, Int32) |
Fills an array with random numbers within a specified range.
(Inherited from RandomSource) | |
NextInt32Sequence |
Returns an infinite sequence of random 32-bit signed integers greater than or equal to zero and less than MaxValue.
(Inherited from RandomSource) | |
NextInt32Sequence(Int32, Int32) |
Returns an infinite sequence of random numbers within a specified range.
(Inherited from RandomSource) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
NextBigIntegerSequence |
Returns an infinite sequence of uniform random BigInteger within the specified range.
(Defined by RandomExtensions) | |
NextBoolean |
Returns a random boolean.
(Defined by RandomExtensions) | |
NextBytes |
Returns an array of uniform random bytes.
(Defined by RandomExtensions) | |
NextDecimal |
Returns a nonnegative decimal floating point random number less than 1.0.
(Defined by RandomExtensions) | |
NextDoubles |
Fills an array with uniform random numbers greater than or equal to 0.0 and less than 1.0.
(Defined by RandomExtensions) | |
NextDoubles |
Returns an array of uniform random numbers greater than or equal to 0.0 and less than 1.0.
(Defined by RandomExtensions) | |
NextDoubleSequence |
Returns an infinite sequence of uniform random numbers greater than or equal to 0.0 and less than 1.0.
(Defined by RandomExtensions) | |
NextFullRangeInt32 |
Returns a random number of the full Int32 range.
(Defined by RandomExtensions) | |
NextFullRangeInt64 |
Returns a random number of the full Int64 range.
(Defined by RandomExtensions) | |
NextInt32s |
Fills an array with uniform random 32-bit signed integers greater than or equal to zero and less than MaxValue.
(Defined by RandomExtensions) | |
NextInt32s |
Fills an array with uniform random 32-bit signed integers within the specified range.
(Defined by RandomExtensions) | |
NextInt32Sequence |
Returns an infinite sequence of uniform random 32-bit signed integers within the specified range.
(Defined by RandomExtensions) | |
NextInt64 |
Returns a nonnegative random number less than MaxValue.
(Defined by RandomExtensions) |