|   | RandomInt24Between(UInt24, UInt24) Method | 
        
        
            Generates a cryptographically strong unsigned 24-bit random integer between specified values. i.e. [startNumber-stopNumber)
            
        
        Namespace: GSF.Security.CryptographyAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
SyntaxPublic Shared Function Int24Between ( 
	startNumber As UInt24,
	stopNumber As UInt24
) As UInt24
GSF.Security.Cryptography.Random.Int24Between = function(startNumber, stopNumber);
Parameters
- startNumber  UInt24
- A UInt24 that is the low end of our range.
- stopNumber  UInt24
- A UInt24 that is the high end of our range.
Return Value
UInt24A 
UInt24 that is generated between the 
startNumber and the 
stopNumber.
 Exceptions
Exceptions| Exception | Condition | 
|---|
| CryptographicException | The cryptographic service provider (CSP) cannot be acquired. | 
 See Also
See Also