DOFUtilgetRandomInt Method OpenDOF Object Access Library
Get a secure, random integer within the specified range.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public static int getRandomInt(
	int range
)

Parameters

range
Type: SystemInt32
The desired range, within which to pick a random number.

Return Value

Type: Int32
A secure, random integer.
Remarks

Get a secure, random integer within the specified range.
See Also

Reference