RandomBetween Method

Generates a semi cryptographically strong random integer between specified values.

Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static double Between(
	double startNumber,
	double stopNumber
)

Parameters

startNumber  Double
A Double that is the low end of our range.
stopNumber  Double
A Double that is the high end of our range.

Return Value

Double
A Double that is generated between the startNumber and the stopNumber, or an exception.

Exceptions

CryptographicExceptionThe cryptographic service provider (CSP) cannot be acquired.

See Also