RandomUInt64Between Method
Generates a cryptographically strong unsigned 64-bit random integer between specified values.
Namespace: Gemstone.Security.CryptographyAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static ulong UInt64Between(
ulong startNumber,
ulong stopNumber
)
Public Shared Function UInt64Between (
startNumber As ULong,
stopNumber As ULong
) As ULong
public:
static unsigned long long UInt64Between(
unsigned long long startNumber,
unsigned long long stopNumber
)
Gemstone.Security.Cryptography.Random.UInt64Between = function(startNumber, stopNumber);
- startNumber UInt64
- A UInt64 that is the low end of our range.
- stopNumber UInt64
- A UInt64 that is the high end of our range.
UInt64A
UInt64 that is generated between the
startNumber and the
stopNumber.
CryptographicException | The cryptographic service provider (CSP) cannot be acquired. |