|
RandomInt24Between(Int24, Int24) Method
|
Generates a cryptographically strong 24-bit random integer between specified values. i.e. [startNumber-stopNumber)
Namespace: GSF.Security.CryptographyAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.250-beta+e1aac152bf9c38c67035c6d283461f222e39e02a
SyntaxPublic Shared Function Int24Between (
startNumber As Int24,
stopNumber As Int24
) As Int24
static member Int24Between :
startNumber : Int24 *
stopNumber : Int24 -> Int24
GSF.Security.Cryptography.Random.Int24Between = function(startNumber, stopNumber);
View SourceParameters
- startNumber Int24
- A Int24 that is the low end of our range.
- stopNumber Int24
- A Int24 that is the high end of our range.
Return Value
Int24A
Int24 that is generated between the
startNumber and the
stopNumber.
ExceptionsException | Condition |
---|
CryptographicException | The cryptographic service provider (CSP) cannot be acquired. |
See Also