Click or drag to resize
NetworkSemaphore Constructor
Creates a new NetworkSemaphore object.

Namespace: com.softwarekey.Client.Licensing.Network
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.17.4.0
Syntax
public NetworkSemaphore(
	string semaphoreDirectory,
	string semaphorePrefix,
	int seatsTotal,
	bool runValidationThread,
	int validationThreadInterval,
	bool runCleanupThread
)

Parameters

semaphoreDirectory
Type: SystemString
The absolute path to a network share where all applicable workstations and/or users have read, write, modify, and delete access.
semaphorePrefix
Type: SystemString
The prefix to use for the names of the semaphore files.
seatsTotal
Type: SystemInt32
The maximum number of allowed, concurrent users.
runValidationThread
Type: SystemBoolean
Whether or not to run the validation thread once a network session is established.
validationThreadInterval
Type: SystemInt32
How frequently, in seconds, the validation thread should check that the network session is still valid.
runCleanupThread
Type: SystemBoolean
Whether or not to run a semaphore cleanup thread (which deletes orphaned semaphores to improve performance) once a network session is established.
See Also