CryptoRandom Class |
Namespace: Internal.Lidgren.Network
public class CryptoRandom : NetRandom
The CryptoRandom type exposes the following members.
Name | Description | |
---|---|---|
CryptoRandom | Initializes a new instance of the CryptoRandom class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
Seed in CryptoRandom does not create deterministic sequences
(Overrides NetRandomInitialize(UInt32).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Next |
Generates a random value that is greater or equal than 0 and less than Int32.MaxValue
(Inherited from NetRandom.) | |
Next(Int32) |
Returns a random value is greater or equal than 0 and less than maxValue
(Inherited from NetRandom.) | |
Next(Int32, Int32) |
Returns a random value is greater or equal than minValue and less than maxValue
(Inherited from NetRandom.) | |
NextBool |
Returns true or false, randomly
(Inherited from NetRandom.) | |
NextBytes(Byte) |
Fill the specified buffer with random values
(Overrides NetRandomNextBytes(Byte).) | |
NextBytes(Byte, Int32, Int32) |
Fills all bytes from offset to offset + length in buffer with random values
(Overrides NetRandomNextBytes(Byte, Int32, Int32).) | |
NextDouble |
Returns random value larger or equal to 0.0 and less than 1.0
(Inherited from NetRandom.) | |
NextInt32 |
Generates a random value greater or equal than 0 and less or equal than Int32.MaxValue (inclusively)
(Inherited from NetRandom.) | |
NextSingle |
Returns random value is greater or equal than 0.0f and less than 1.0f
(Inherited from NetRandom.) | |
NextUInt32 |
Generates a random value from UInt32.MinValue to UInt32.MaxValue, inclusively
(Overrides NetRandomNextUInt32.) | |
NextUInt64 |
Generates a random value between UInt64.MinValue to UInt64.MaxValue
(Inherited from NetRandom.) | |
Sample |
Returns random value is greater or equal than 0.0 and less than 1.0
(Inherited from NetRandom.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |