Click or drag to resize

RandomUInt16 Property

Generates a cryptographically strong unsigned 16-bit random integer.

Namespace: GSF.Security.Cryptography
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.283-beta+c965646d479a9eab83d024dda466bc5a7b4c1300
Syntax
public static ushort UInt16 { get; }
View Source

Property Value

UInt16
Exceptions
ExceptionCondition
CryptographicExceptionThe cryptographic service provider (CSP) cannot be acquired.
See Also