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