|
RandomGetBytes Method
|
Fills an array of bytes with a cryptographically strong sequence of random values.
Namespace: GSF.Security.CryptographyAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.296-beta+d85e3b6b23676c9fffb3231e358b4f94ad70793d
Syntaxpublic static void GetBytes(
byte[] buffer
)
Public Shared Sub GetBytes (
buffer As Byte()
)
static member GetBytes :
buffer : byte[] -> unit GSF.Security.Cryptography.Random.GetBytes = function(buffer);
View SourceParameters
- buffer Byte
- The array to fill with a cryptographically strong sequence of random values.
Exceptions
RemarksThe length of the byte array determines how many cryptographically strong random bytes are produced.
This method is thread safe.
See Also