The SecureRandom type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SecureRandom()()()() | ||
| SecureRandom(array<Byte>[]()[][]) | ||
| SecureRandom(IRandomGenerator) | Use the specified instance of IRandomGenerator as random source. |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GenerateSeed | ||
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetInstance | ||
| GetSeed | ||
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Next()()()() | (Overrides Random..::..Next()()()().) | |
| Next(Int32) | (Overrides Random..::..Next(Int32).) | |
| Next(Int32, Int32) | (Overrides Random..::..Next(Int32, Int32).) | |
| NextBytes(array<Byte>[]()[][]) | (Overrides Random..::..NextBytes(array<Byte>[]()[][]).) | |
| NextBytes(array<Byte>[]()[][], Int32, Int32) | ||
| NextDouble | (Overrides Random..::..NextDouble()()()().) | |
| NextInt | ||
| NextLong | ||
| Sample |
Returns a random number between 0.0 and 1.0.
(Inherited from Random.) | |
| SetSeed(array<Byte>[]()[][]) | ||
| SetSeed(Int64) | ||
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| generator |