Method GetUInt16
- Namespace
- DisCatSharp.Common
- Assembly
- DisCatSharp.Common.dll
GetUInt16(ushort, ushort)
Generates a unsigned 16-bit integer within specified range.
public ushort GetUInt16(ushort min = 0, ushort max = 65535)
Parameters
min
ushortMinimum value to generate. Defaults to 0.
max
ushortMaximum value to generate. Defaults to MaxValue.
Returns
- ushort
Generated random value.