NtDllRtlUniform Method

Generates a uniform random number using D.H. Lehmer's 1948 algorithm, between 0 (zero) to UInt32

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("NtDll.dll")]
public static uint RtlUniform(
	in uint refSeed
)

Parameters

refSeed  UInt32
A number used to calculate a starting value for the random number sequence.

Return Value

UInt32
Returns a random number uniformly distributed between 0 (zero) to UInt32.

Remarks

See Also