NetworkSession Constructor |
Creates a new
NetworkSession object for loading a new or existing network session.
Namespace: com.softwarekey.Client.Licensing.NetworkAssembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntaxpublic NetworkSession(
AuthorEncryptionKey encryptionKey,
bool useEncryption,
bool useSignatures,
List<SystemIdentifierAlgorithm> identifierAlgorithms,
string certificatePath,
bool loadCertificateFromFile
)
Public Sub New (
encryptionKey As AuthorEncryptionKey,
useEncryption As Boolean,
useSignatures As Boolean,
identifierAlgorithms As List(Of SystemIdentifierAlgorithm),
certificatePath As String,
loadCertificateFromFile As Boolean
)
public:
NetworkSession(
AuthorEncryptionKey^ encryptionKey,
bool useEncryption,
bool useSignatures,
List<SystemIdentifierAlgorithm^>^ identifierAlgorithms,
String^ certificatePath,
bool loadCertificateFromFile
)
Parameters
- encryptionKey
- Type: com.softwarekey.Client.UtilsAuthorEncryptionKey
The pre-initialized AuthorEncryptionKey object required for cryptographic routines. - useEncryption
- Type: SystemBoolean
Whether or not to use encryption (set to true if unsure). - useSignatures
- Type: SystemBoolean
Whether or not to use signatures (set to true if unsure). - identifierAlgorithms
- Type: System.Collections.GenericListSystemIdentifierAlgorithm
A list of SystemIdentifierAlgorithm objects to use to bind the session to the current system. - certificatePath
- Type: SystemString
The absolute path to the certificate file. - loadCertificateFromFile
- Type: SystemBoolean
Whether or not the session should be initialized from an existing certificate file.
See Also