|
RandomByteBetween Method
|
Generates a cryptographically strong 8-bit random integer between specified values. i.e. [startNumber-stopNumber)
Namespace: GSF.Security.CryptographyAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
Syntax public static byte ByteBetween(
byte startNumber,
byte stopNumber
)
Public Shared Function ByteBetween (
startNumber As Byte,
stopNumber As Byte
) As Byte
static member ByteBetween :
startNumber : byte *
stopNumber : byte -> byte
GSF.Security.Cryptography.Random.ByteBetween = function(startNumber, stopNumber);
View SourceParameters
- startNumber Byte
- A Byte that is the low end of our range.
- stopNumber Byte
- A Byte that is the high end of our range.
Return Value
ByteA
Byte that is generated between the
startNumber and the
stopNumber.
Exceptions See Also