RandomBetween Method
Generates a semi cryptographically strong random integer between specified values.
Namespace: Gemstone.Security.CryptographyAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static double Between(
double startNumber,
double stopNumber
)
Public Shared Function Between (
startNumber As Double,
stopNumber As Double
) As Double
public:
static double Between(
double startNumber,
double stopNumber
)
Gemstone.Security.Cryptography.Random.Between = function(startNumber, stopNumber);
- startNumber Double
- A Double that is the low end of our range.
- stopNumber Double
- A Double that is the high end of our range.
DoubleA
Double that is generated between the
startNumber and the
stopNumber, or an exception.
CryptographicException | The cryptographic service provider (CSP) cannot be acquired. |