Sage Modeling and Simulation Library

GlobalRandomServer..::..SetSeed Method

Sets the random seed for the global random server. This is a super-seed which is used to seed any channels not otherwise explicitly seeded that are obtained from the Global Random Server.

Namespace:  Highpoint.Sage.Randoms
Assembly:  Sage4 (in Sage4.dll)

Syntax


public static void SetSeed(
	ulong seed
)

Parameters

seed
Type: UInt64
The seed.

Exceptions


ExceptionCondition
ApplicationExceptionCalls to GlobalRandomServer.SetSeed(long newSeed) must be performed before any call to GlobalRandomServer.Instance.