|   | RandomBetween Method | 
        
        
            Generates a semi cryptographically strong 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 static double Between(
	double startNumber,
	double stopNumber
)
Public Shared Function Between ( 
	startNumber As Double,
	stopNumber As Double
) As Double
public:
static double Between(
	double startNumber, 
	double stopNumber
)
static member Between : 
        startNumber : float * 
        stopNumber : float -> float GSF.Security.Cryptography.Random.Between = function(startNumber, stopNumber);
Parameters
- startNumber  Double
- A Double that is the low end of our range.
- stopNumber  Double
- A Double that is the high end of our range.
Return Value
DoubleA 
Double that is generated between the 
startNumber and the 
stopNumber, or an exception.  
 Exceptions
Exceptions| Exception | Condition | 
|---|
| CryptographicException | The cryptographic service provider (CSP) cannot be acquired. | 
 See Also
See Also