NetworkSemaphore Constructor |
Namespace: com.softwarekey.Client.Licensing.NetworkAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic NetworkSemaphore(
string semaphoreDirectory,
string semaphorePrefix,
int seatsTotal,
bool runValidationThread,
int validationThreadInterval,
bool runCleanupThread
)
Public Sub New (
semaphoreDirectory As String,
semaphorePrefix As String,
seatsTotal As Integer,
runValidationThread As Boolean,
validationThreadInterval As Integer,
runCleanupThread As Boolean
)
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