Click or drag to resize
WritableLicense Constructor
Creates a new WritableLicense object with the cryptographic data (in the AuthorEncryptionKey object), encryption options, product information, and identifier algorithms.

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.17.4.0
Syntax
public WritableLicense(
	AuthorEncryptionKey encryptionKey,
	bool useEncryptedFile,
	bool useWebServiceEncryption,
	int productId,
	string productVersion,
	List<SystemIdentifierAlgorithm> identifierAlgorithms
)

Parameters

encryptionKey
Type: com.softwarekey.Client.UtilsAuthorEncryptionKey
The AuthorEncryptionKey object required for cryptographic routines.
useEncryptedFile
Type: SystemBoolean
When true, uses an encrypted License File. (Set to true if unsure.)
useWebServiceEncryption
Type: SystemBoolean
When try, XML web service requests are encrypted. (Set to true if unsure.)
productId
Type: SystemInt32
The Product ID for the Product which is being licensed from SOLO Server. (Set to zero (0) if you are not using SOLO Server.)
productVersion
Type: SystemString
The current version of the product (must be formatted like x.x.x.x, where each 'x' is a non-negative integer that is no longer than 5 digits). Use an empty string to ignore the version number.
identifierAlgorithms
Type: System.Collections.GenericListSystemIdentifierAlgorithm
A generic list of SystemIdentifierAlgorithm objects (typically one object for each algorithm being used) to use to automatically initialize the CurrentIdentifiers property.
See Also