Click or drag to resize
WritableLicense Class
This is the base class from which all license implementations which must allow the application to write to the license file are derived.
Inheritance Hierarchy
SystemObject
  com.softwarekey.Client.LicensingLicense
    com.softwarekey.Client.LicensingWritableLicense

Namespace: com.softwarekey.Client.Licensing
Assembly: PLUSManaged (in PLUSManaged.dll) Version: 5.23.4.0
Syntax
public abstract class WritableLicense : License

The WritableLicense type exposes the following members.

Constructors
  NameDescription
Public methodWritableLicense
Creates a new WritableLicense object with the cryptographic data (in the AuthorEncryptionKey object), encryption options, product information, and identifier algorithms.
Top
Properties
  NameDescription
Public propertyActivationPassword
Gets or sets the activation password, which is usually randomly generated by SOLO Server.
(Overrides LicenseActivationPassword.)
Public propertyAliases
Gets the list of aliases.
Public propertyAuthor
Gets the Author that issued this License.
(Inherited from License.)
Public propertyAuthorizedIdentifiers
Gets a generic list of authorized/activated system identifiers.
(Inherited from License.)
Public propertyCurrentIdentifiers
Gets a generic list of the current system's identifiers.
(Inherited from License.)
Public propertyCurrentSessionCode
Gets or sets the current session code, which prevents replay attacks in manual request processing.
(Inherited from License.)
Public propertyCurrentVersion
Gets or sets the current version of the product available.
(Overrides LicenseCurrentVersion.)
Public propertyCustomer
Gets the Customer to which this License was issued.
(Inherited from License.)
Public propertyDistributor
Gets the Distributor with which this License is associated.
(Inherited from License.)
Public propertyEffectiveEndDate
Gets or sets the date in which the license expires.
(Overrides LicenseEffectiveEndDate.)
Public propertyEffectiveStartDate
Gets or sets the date in which the license becomes effective.
(Overrides LicenseEffectiveStartDate.)
Public propertyEncryptionKeyID
Gets or sets the Encryption Key identifier.
(Inherited from License.)
Public propertyExternalReference1
Gets or sets the External Reference 1 value, which is a unique identifier generated by a third-party system or service.
(Overrides LicenseExternalReference1.)
Public propertyExternalReference1Source
Gets or sets the source of the ExternalReference1 value.
(Overrides LicenseExternalReference1Source.)
Public propertyExternalReference2
Gets or sets the External Reference 2 value, which is a unique identifier generated by a third-party system or service.
(Overrides LicenseExternalReference2.)
Public propertyExternalReference2Source
Gets or sets the source of the ExternalReference2 value.
(Overrides LicenseExternalReference2Source.)
Public propertyFormatVersion
Gets the format version of the license file.
(Inherited from License.)
Public propertyInstallationID
Gets or sets the Installation ID which uniquely identifies the activation of the current system.
(Overrides LicenseInstallationID.)
Public propertyInstallationName
Gets or sets the name of the installation.
(Inherited from License.)
Public propertyIsTestLicense
Gets whether or not the license file was generated from a test license. IMPORTANT: Test licenses may eventually be deleted from SOLO Server's database!
(Inherited from License.)
Public propertyLastError
Gets or sets the last error encountered
(Inherited from License.)
Public propertyLastUpdated
Gets the last time the license was updated (in UTC time).
Public propertyLatestVersion
Gets or sets the latest version of the product available.
(Overrides LicenseLatestVersion.)
Public propertyLicenseCounter
Gets or sets the License Counter value.
(Overrides LicenseLicenseCounter.)
Public propertyLicenseCustomData
Gets or sets the License Custom Data, which contains custom XML or alphanumeric data.
(Overrides LicenseLicenseCustomData.)
Public propertyLicenseeEmail
Gets or sets the licensee's email address.
(Overrides LicenseLicenseeEmail.)
Public propertyLicenseeName
Gets or sets the licensee's name.
(Overrides LicenseLicenseeName.)
Public propertyLicenseGroup
Gets the License Group to which the License was assigned.
(Inherited from License.)
Public propertyLicenseID
Gets or sets the License ID of the license purchased and activated.
(Overrides LicenseLicenseID.)
Public propertyLicenseUpdate
Gets or sets the License Update data.
(Overrides LicenseLicenseUpdate.)
Public propertyLicenseValidationOptions
Gets the License Validation Options.
(Inherited from License.)
Public propertyNumberOfMatchingIdentifiers
Gets the the number of authorized system identifiers with matching current system identifiers.
(Inherited from License.)
Public propertyProduct
Gets the Product for which the License was issued.
(Inherited from License.)
Public propertyProductOption
Gets the Product Option for which the License was issued.
(Inherited from License.)
Public propertyProductVersion
Gets or sets the version of this product.
(Inherited from License.)
Public propertyQuantityOrdered
Gets or sets the latest version of the product available.
(Overrides LicenseQuantityOrdered.)
Public propertySerialNumber
Gets the Serial Number value
(Overrides LicenseSerialNumber.)
Public propertySignatureDate
Gets or sets the date in which the license file itself was created and signed.
(Overrides LicenseSignatureDate.)
Public propertyThisProductID
Gets or sets the Product ID (usually generated by SOLO Server) of this product/application.
(Inherited from License.)
Public propertyTriggerCode
Gets or sets the Trigger Code number.
(Overrides LicenseTriggerCode.)
Public propertyTriggerCodeFixedValue
Gets or sets the Trigger Code Fixed Value.
(Overrides LicenseTriggerCodeFixedValue.)
Public propertyUserDefinedDate1
Gets or sets the User Defined Date-Time Field 1 value.
(Overrides LicenseUserDefinedDate1.)
Public propertyUserDefinedDate2
Gets or sets the User Defined Date-Time Field 2 value.
(Overrides LicenseUserDefinedDate2.)
Public propertyUserDefinedDate3
Gets or sets the User Defined Date-Time Field 3 value.
(Overrides LicenseUserDefinedDate3.)
Public propertyUserDefinedDate4
Gets or sets the User Defined Date-Time Field 4 value.
(Overrides LicenseUserDefinedDate4.)
Public propertyUserDefinedDate5
Gets or sets the User Defined Date-Time Field 5 value.
(Overrides LicenseUserDefinedDate5.)
Public propertyUserDefinedFloat1
Gets or sets the User Defined Float Field 1 value.
(Overrides LicenseUserDefinedFloat1.)
Public propertyUserDefinedFloat2
Gets or sets the User Defined Float Field 2 value.
(Overrides LicenseUserDefinedFloat2.)
Public propertyUserDefinedFloat3
Gets or sets the User Defined Float Field 3 value.
(Overrides LicenseUserDefinedFloat3.)
Public propertyUserDefinedFloat4
Gets or sets the User Defined Float Field 4 value.
(Overrides LicenseUserDefinedFloat4.)
Public propertyUserDefinedFloat5
Gets or sets the User Defined Float Field 5 value.
(Overrides LicenseUserDefinedFloat5.)
Public propertyUserDefinedNumber1
Gets or sets the User Defined Number Field 1 value.
(Overrides LicenseUserDefinedNumber1.)
Public propertyUserDefinedNumber2
Gets or sets the User Defined Number Field 2 value.
(Overrides LicenseUserDefinedNumber2.)
Public propertyUserDefinedNumber3
Gets or sets the User Defined Number Field 3 value.
(Overrides LicenseUserDefinedNumber3.)
Public propertyUserDefinedNumber4
Gets or sets the User Defined Number Field 4 value.
(Overrides LicenseUserDefinedNumber4.)
Public propertyUserDefinedNumber5
Gets or sets the User Defined Number Field 5 value.
(Overrides LicenseUserDefinedNumber5.)
Public propertyUserDefinedString1
Gets or sets the User Defined String Field 1 value.
(Overrides LicenseUserDefinedString1.)
Public propertyUserDefinedString10
Gets or sets the User Defined String Field 10 value.
(Overrides LicenseUserDefinedString10.)
Public propertyUserDefinedString2
Gets or sets the User Defined String Field 2 value.
(Overrides LicenseUserDefinedString2.)
Public propertyUserDefinedString3
Gets or sets the User Defined String Field 3 value.
(Overrides LicenseUserDefinedString3.)
Public propertyUserDefinedString4
Gets or sets the User Defined String Field 4 value.
(Overrides LicenseUserDefinedString4.)
Public propertyUserDefinedString5
Gets or sets the User Defined String Field 5 value.
(Overrides LicenseUserDefinedString5.)
Public propertyUserDefinedString6
Gets or sets the User Defined String Field 6 value.
(Overrides LicenseUserDefinedString6.)
Public propertyUserDefinedString7
Gets or sets the User Defined String Field 7 value.
(Overrides LicenseUserDefinedString7.)
Public propertyUserDefinedString8
Gets or sets the User Defined String Field 8 value.
(Overrides LicenseUserDefinedString8.)
Public propertyUserDefinedString9
Gets or sets the User Defined String Field 9 value.
(Overrides LicenseUserDefinedString9.)
Top
Methods
  NameDescription
Public methodActivateInstallationLicenseFile(Int32, String, String)
Activates online using a specified License ID, and customer password or activation password
(Inherited from License.)
Public methodActivateInstallationLicenseFile(String, XmlActivationService, String)
Activates online using a specified License ID, customer password or activation password, and endpoint URL
(Inherited from License.)
Public methodActivateInstallationLicenseFile(String, String, String)
Activates online using the license's current License ID, the specified customer password or activation password, and endpoint URL
(Inherited from License.)
Public methodActivateInstallationLicenseFile(Int32, String, XmlActivationService, String)
Activates online using a specified License ID, customer password or activation password, and endpoint URL
(Inherited from License.)
Public methodActivateInstallationLicenseFile(Int32, String, String, String)
Activates online using the license's current License ID, the specified customer password or activation password, and endpoint URL
(Inherited from License.)
Public methodActivateOnline(String, XmlActivationService)
Activates online using the license's current License ID, the specified customer password or activation password, and SoapHttpClientProtocol (.NET Framework) or the XmlWebService (.NET Standard) object
(Inherited from License.)
Public methodActivateOnline(String, String)
Activates online using the license's current License ID, the specified customer password or activation password, and endpoint URL
(Inherited from License.)
Public methodActivateOnline(Int32, String, XmlActivationService)
Activates online using the specified License ID, customer password or activation password, and SoapHttpClientProtocol object.
(Inherited from License.)
Public methodActivateOnline(Int32, String, String)
Activates online using the specified License ID, customer password or activation password, and endpoint URL.
(Inherited from License.)
Public methodAddAlias
Adds an alias, or a hidden copy of the writable License File.
Public methodAddIdentifierAlgorithm
Adds a SystemIdentifierAlgorithm implementation to use for system identification and verification.
(Inherited from License.)
Public methodAddTimeServerCheck(String)
Add an SNTP server to the list of servers to check
(Inherited from License.)
Public methodAddTimeServerCheck(String, Int32)
Add an SNTP server to the list of servers to check
(Inherited from License.)
Public methodAddTimeServerCheck(String, Int32, Int32, Int32)
Add an SNTP server to the list of servers to check
(Inherited from License.)
Public methodCheckAliases
Checks all License File aliases.
Public methodCheckInstallationStatus
Checks the installation status for the given Installation ID against SOLO Server using the current value in the InstallationID property.
(Inherited from License.)
Public methodCheckInstallationStatus(String)
Checks the installation status for the given Installation ID against SOLO Server using the current value in the InstallationID property and a specified endpoint.
(Inherited from License.)
Public methodCheckInstallationStatus(XmlActivationService)
Checks the installation status for the given Installation ID against SOLO Server using the current value in the InstallationID property and a specified endpoint.
(Inherited from License.)
Public methodCheckTimeAgainstServers
Checks the system time against multiple time servers/sntp requests, allowing up to a 5 minute difference.
(Inherited from License.)
Public methodCheckTimeAgainstServers(Double)
Checks the system time against multiple time servers/sntp requests
(Inherited from License.)
Public methodDeactivateInstallation
Deactivates the license with SOLO Server using the InstallationID property.
(Inherited from License.)
Public methodDeactivateInstallation(String)
Deactivates the license with SOLO Server using the InstallationID property and the specified endpoint.
(Inherited from License.)
Public methodDeactivateInstallation(XmlActivationService)
Deactivates the license with SOLO Server using the InstallationID property and the specified endpoint.
(Inherited from License.)
Public methodDecrementLicenseCounter(Int32)
Decrements the License Counter value for the given Installation ID against SOLO Server using the current value in the InstallationID property.
(Inherited from License.)
Public methodDecrementLicenseCounter(String, Int32)
Decrements the License Counter value for the given Installation ID against SOLO Server using the current value in the InstallationID property and a specified endpoint.
(Inherited from License.)
Public methodDecrementLicenseCounter(XmlActivationService, Int32)
Decrements the License Counter value for the given Installation ID against SOLO Server using the current value in the InstallationID property and a specified endpoint.
(Inherited from License.)
Public methodDeleteAliases
Attempts to delete all aliases.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetActivationInstallationLicenseFileRequest
Builds a manual activation XML request string
(Inherited from License.)
Public methodGetActivationRequest
Builds a manual activation XML request string
(Inherited from License.)
Public methodGetCheckInstallationStatusRequest
Builds a manual status check XML request string using the current value in the InstallationID property
(Inherited from License.)
Public methodGetDeactivateInstallationRequest
Builds a manual status check XML request string using the current value in the InstallationID property
(Inherited from License.)
Public methodGetDecrementLicenseCounterRequest
Builds a manual status check XML request string using the current value in the InstallationID property
(Inherited from License.)
Protected methodGetEncryptionKey
Gets the AuthorEncryptionKey object used for cryptographic routines.
(Inherited from License.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLicenseRefreshRequest
Builds a manual license refresh XML request string using the current value in the InstallationID property
(Inherited from License.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetWritableLicenseFile
Creates a writable License File.
Public methodInitializeCurrentIdentifiers
Initializes the CurrentIdentifiers property using the algorithms added using the AddIdentifierAlgorithm(SystemIdentifierAlgorithm) method.
(Inherited from License.)
Protected methodinitializeFromXml
Initializes a WritableLicense from an XmlDocument
(Overrides LicenseinitializeFromXml(XmlDocument).)
Public methodLoad
Loads a License File from a String in memory.
(Overrides LicenseLoad(String).)
Public methodLoadFile
Loads a License File from the file system and returns true if successful
(Inherited from License.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessActivateInstallationLicenseFileResponse(String, String)
Processes an activation XML response string
(Inherited from License.)
Public methodProcessActivateInstallationLicenseFileResponse(XmlNode, String)
Processes an activation XML response string
(Overrides LicenseProcessActivateInstallationLicenseFileResponse(XmlNode, String).)
Public methodProcessActivationResponse(String)
Processes an activation XML response string
(Inherited from License.)
Public methodProcessActivationResponse(XmlNode)
Processes an activation XML response.
(Inherited from License.)
Public methodProcessCheckInstallationStatusResponse(String)
Processes a CheckInstallationStatus XML response string
(Inherited from License.)
Public methodProcessCheckInstallationStatusResponse(XmlNode)
Processes a CheckInstallationStatus XML response string
(Inherited from License.)
Public methodProcessDeactivateInstallationResponse(String)
Processes a DeactivateInstallation XML response string
(Inherited from License.)
Public methodProcessDeactivateInstallationResponse(XmlNode)
Processes a DeactivateInstallation XML response
(Overrides LicenseProcessDeactivateInstallationResponse(XmlNode).)
Public methodProcessDecrementLicenseCounterResponse(String)
Processes a DecrementLicenseCounter XML response string
(Inherited from License.)
Public methodProcessDecrementLicenseCounterResponse(XmlNode)
Processes a DecrementLicenseCounter XML response string
(Inherited from License.)
Public methodProcessLicenseRefreshResponse(String, String)
Processes an activation XML response string
(Inherited from License.)
Public methodProcessLicenseRefreshResponse(XmlNode, String)
Processes an activation XML response string
(Overrides LicenseProcessLicenseRefreshResponse(XmlNode, String).)
Public methodRefreshLicense(String)
Returns the current license file contents from SOLO Server using the current value in the InstallationID property.
(Inherited from License.)
Public methodRefreshLicense(String, String)
Returns the current license file contents from SOLO Server using the current value in the InstallationID property.
(Inherited from License.)
Public methodRefreshLicense(XmlLicenseFileService, String)
Returns the current license file contents from SOLO Server using the current value in the InstallationID property.
(Inherited from License.)
Public methodResetSessionCode
Creates a new session code in the CurrentSessionCode property
(Inherited from License.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWriteAliases(Int32, Int32)
Writes to all alias locations.
Public methodWriteAliases(Int32, Int32, Boolean)
Writes to all alias locations.
Public methodWriteAliasToLicenseFile
Overwrites a License File with an alias
Public methodWriteLicenseFile(String)
Writes a License File to the file system.
Public methodWriteLicenseFile(String, String)
Writes a License File to the file system.
(Inherited from License.)
Top
Remarks
Caution note Caution

It is very important to note that this implementation is less secure since it uses encryption data known to your application. Implementing read-only License Files via the License class instead provides the highest level of security, as it uses encryption information only known to SOLO Server.

See Also