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.284-beta+805ed69bbaa748bda5f49830845a2ffff2791ae0
Syntax
public static ushort UInt16 { get; }
View Source

Property Value

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