NetworkSessionValidation Constructor (NetworkSession, Boolean, Int32, Boolean, NetworkSessionValidationNetworkSessionTimeValidationType) |
Namespace: com.softwarekey.Client.Licensing.NetworkAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic NetworkSessionValidation(
NetworkSession session,
bool useSystemIdentifierValidation,
int matchingIdentifiersRequired,
bool useCertificatePathValidation,
NetworkSessionValidationNetworkSessionTimeValidationType ntpValidationType
)
Public Sub New (
session As NetworkSession,
useSystemIdentifierValidation As Boolean,
matchingIdentifiersRequired As Integer,
useCertificatePathValidation As Boolean,
ntpValidationType As NetworkSessionValidationNetworkSessionTimeValidationType
)
public:
NetworkSessionValidation(
NetworkSession^ session,
bool useSystemIdentifierValidation,
int matchingIdentifiersRequired,
bool useCertificatePathValidation,
NetworkSessionValidationNetworkSessionTimeValidationType ntpValidationType
)
Parameters
- session
- Type: com.softwarekey.Client.Licensing.NetworkNetworkSession
The NetworkSession object to validate. - useSystemIdentifierValidation
- Type: SystemBoolean
Set to true to bind network session certificates to the machines which request the sessions. (If you are unsure, set this to true.) - matchingIdentifiersRequired
- Type: SystemInt32
The minimum number of matching identifiers required. (If you are unsure, set this to SystemIdentifierValidation.REQUIRE_EXACT_MATCH.) - useCertificatePathValidation
- Type: SystemBoolean
Whether or not the certificate path should be validated (set to true if unsure). - ntpValidationType
- Type: com.softwarekey.Client.Licensing.NetworkNetworkSessionValidationNetworkSessionTimeValidationType
The type of NTP validation to use (if unsure, set to NetworkSessionTimeValidationType.WhenAvailable).
See Also