Rnd
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
A random. This class cannot be inherited.
Inheritance
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Rnd()
Default constructor.
Rnd(int)
Constructor.
Parameters
The seed used to generate dandom values.
Fields
Alphabet
The alphabet.
Field Value
Methods
Array(int)
Generates a random array of bytes.
Parameters
The array size.
Returns
A byte[] array filled with random values.
Exceptions
Thrown when one or more arguments are outside the required range.
Double()
Gets the double.
Returns
A double.
Fill(byte[], int, int)
Fills random array of bytes.
Parameters
The array.
The start index where to start fill random values.
The number of random values to generate.
Exceptions
Thrown when one or more required arguments are null.
Thrown when one or more arguments are outside the required range.
Int()
Ints.
Returns
A double.
Int(int, int)
Ints.
Parameters
The minimum.
The maximum.
Returns
A double.
Long()
Gets the long.
Returns
A long.
Seed(int)
Change random seed.
Parameters
The seed.
String(int)
Generates a random string.
Parameters
The length.
Returns
A string.
Exceptions
Thrown when one or more arguments are outside the required range.
Last updated