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