RandomUInt16Between Method
Generates a cryptographically strong unsigned 16-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 ushort UInt16Between(
ushort startNumber,
ushort stopNumber
)
Public Shared Function UInt16Between (
startNumber As UShort,
stopNumber As UShort
) As UShort
public:
static unsigned short UInt16Between(
unsigned short startNumber,
unsigned short stopNumber
)
Gemstone.Security.Cryptography.Random.UInt16Between = function(startNumber, stopNumber);
- startNumber UInt16
- A UInt16 that is the low end of our range.
- stopNumber UInt16
- A UInt16 that is the high end of our range.
UInt16A
UInt16 that is generated between the
startNumber and the
stopNumber.
CryptographicException | The cryptographic service provider (CSP) cannot be acquired. |