Sage Modeling and Simulation Library

GlobalRandomServer..::..SetGlobalRandomChannelSeed Method

Sets the seed for the GlobalRandomChannel. The seed must be set before the first call to use the GlobalRandomChannel.

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

Syntax


public static void SetGlobalRandomChannelSeed(
	ulong seed
)

Parameters

seed
Type: UInt64
the GlobalRandomChannel seed

Exceptions


ExceptionCondition
ApplicationExceptionCalls to GlobalRandomServer.SetBufferSize(int bufferSize) must be performed before any call to GlobalRandomServer.Instance.