Generate a single random octet (byte).
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.25611 (23.0.0.0)
Syntaxpublic static byte Octet()
Public Shared Function Octet As Byte
Return Value
ByteSingle byte value randomly chosen between 0 and 255
Examplebyte by = Rng.Octet();
Console.WriteLine("Rng.Octet()={0}", by);
See Also