Class NSLicenseInfo

Represents all licenses for this owner at this site.

Constructors

NSLicenseInfo()

Initializes a new instance of the NSLicenseInfo class.

Declaration

NSLicenseInfo

Methods

GetAdminWarningDate()

Declaration

DateTime GetAdminWarningDate()

Examples

NSLicenseInfo thing;
DateTime adminWarningDate = thing.GetAdminWarningDate();

Returns

Type Description
DateTime When should nagging begin (for instance, during login to SoAdmin).

GetCompanyName()

Declaration

String GetCompanyName()

Examples

NSLicenseInfo thing;
String companyName = thing.GetCompanyName();

Returns

Type Description
String Name of the database owner company.

GetDeploymentType()

Declaration

Integer GetDeploymentType()

Examples

NSLicenseInfo thing;
Integer deploymentType = thing.GetDeploymentType();

Returns

Type Description
Integer Type of deployment.

GetExpiryDate()

Declaration

DateTime GetExpiryDate()

Examples

NSLicenseInfo thing;
DateTime expiryDate = thing.GetExpiryDate();

Returns

Type Description
DateTime Expiration date, 0 = forever.

GetExtraFlags()

Declaration

Integer GetExtraFlags()

Examples

NSLicenseInfo thing;
Integer extraFlags = thing.GetExtraFlags();

Returns

Type Description
Integer Unspecified extra flags of license, part of checksum.

GetExtraInfo()

Declaration

String GetExtraInfo()

Returns

Type Description
String

GetGraceDate()

Declaration

DateTime GetGraceDate()

Examples

NSLicenseInfo thing;
DateTime graceDate = thing.GetGraceDate();

Returns

Type Description
DateTime Real expiration date, when the given module actually stops working.

GetLicenseUrl()

Declaration

String GetLicenseUrl()

Examples

NSLicenseInfo thing;
String licenseUrl = thing.GetLicenseUrl();

Returns

Type Description
String The URL that will provide keycodes for all modules owned by this owner.

GetLicenseVersion()

Declaration

String GetLicenseVersion()

Examples

NSLicenseInfo thing;
String licenseVersion = thing.GetLicenseVersion();

Returns

Type Description
String The URL that will provide keycodes for all modules owned by this owner.

GetMaintenanceDate()

Declaration

DateTime GetMaintenanceDate()

Examples

NSLicenseInfo thing;
DateTime maintenanceDate = thing.GetMaintenanceDate();

Returns

Type Description
DateTime Expiration date for maintenance. After this date, upgrades should refuse to install.

GetModuleLicenses()

Declaration

NSModuleLicense[] GetModuleLicenses()

Examples

NSLicenseInfo thing;
NSModuleLicense[] moduleLicenses = thing.GetModuleLicenses();

Returns

Type Description
NSModuleLicense[] The module licenses.

GetNextCheckDate()

Declaration

DateTime GetNextCheckDate()

Examples

NSLicenseInfo thing;
DateTime nextCheckDate = thing.GetNextCheckDate();

Returns

Type Description
DateTime When should the system next check with the license issuer.

GetOwnerDescription()

Declaration

String GetOwnerDescription()

Examples

NSLicenseInfo thing;
String ownerDescription = thing.GetOwnerDescription();

Returns

Type Description
String Human-readable description of owner, shown in GUI, default language.

GetOwnerName()

Declaration

String GetOwnerName()

Examples

NSLicenseInfo thing;
String ownerName = thing.GetOwnerName();

Returns

Type Description
String The name of the module owner, not visible in GUI but used in the code.

GetProductDescription()

Declaration

String GetProductDescription()

Examples

NSLicenseInfo thing;
String productDescription = thing.GetProductDescription();

Returns

Type Description
String Description of type of product.

GetProductType()

Declaration

String GetProductType()

Examples

NSLicenseInfo thing;
String productType = thing.GetProductType();

Returns

Type Description
String Type of product.

GetPublicKey()

Declaration

NSSignedPublicKey GetPublicKey()

Examples

NSLicenseInfo thing;
NSSignedPublicKey publicKey = thing.GetPublicKey();

Returns

Type Description
NSSignedPublicKey The public key used to verify licenses owned by this owner.

GetSerialNr()

Declaration

String GetSerialNr()

Examples

NSLicenseInfo thing;
String serialNr = thing.GetSerialNr();

Returns

Type Description
String Serial number. For example, 1010000014.

GetSignature()

Declaration

String GetSignature()

Examples

NSLicenseInfo thing;
String signature = thing.GetSignature();

Returns

Type Description
String Signature of all non-zero-amount moduleLicense rows referring to this owner.

SetAdminWarningDate(DateTime)

Declaration

Void SetAdminWarningDate(DateTime adminWarningDate)

Examples

NSLicenseInfo thing;
DateTime adminWarningDate;
thing.SetAdminWarningDate(adminWarningDate);

Parameters

Type Name Description
DateTime adminWarningDate When should nagging begin (for instance, during login to SoAdmin).

Returns

Type Description
Void

SetCompanyName(String)

Declaration

Void SetCompanyName(String companyName)

Examples

NSLicenseInfo thing;
String companyName;
thing.SetCompanyName(companyName);

Parameters

Type Name Description
String companyName Name of the database owner company.

Returns

Type Description
Void

SetDeploymentType(Integer)

Declaration

Void SetDeploymentType(Integer deploymentType)

Examples

NSLicenseInfo thing;
Integer deploymentType;
thing.SetDeploymentType(deploymentType);

Parameters

Type Name Description
Integer deploymentType Type of deployment.

Returns

Type Description
Void

SetExpiryDate(DateTime)

Declaration

Void SetExpiryDate(DateTime expiryDate)

Examples

NSLicenseInfo thing;
DateTime expiryDate;
thing.SetExpiryDate(expiryDate);

Parameters

Type Name Description
DateTime expiryDate Expiration date, 0 = forever.

Returns

Type Description
Void

SetExtraFlags(Integer)

Declaration

Void SetExtraFlags(Integer extraFlags)

Examples

NSLicenseInfo thing;
Integer extraFlags;
thing.SetExtraFlags(extraFlags);

Parameters

Type Name Description
Integer extraFlags Unspecified extra flags of license, part of checksum.

Returns

Type Description
Void

SetExtraInfo(String)

Declaration

Void SetExtraInfo(String extraInfo)

Parameters

Type Name Description
String extraInfo

Returns

Type Description
Void

SetGraceDate(DateTime)

Declaration

Void SetGraceDate(DateTime graceDate)

Examples

NSLicenseInfo thing;
DateTime graceDate;
thing.SetGraceDate(graceDate);

Parameters

Type Name Description
DateTime graceDate Real expiration date, when the given module actually stops working.

Returns

Type Description
Void

SetLicenseUrl(String)

Declaration

Void SetLicenseUrl(String licenseUrl)

Examples

NSLicenseInfo thing;
String licenseUrl;
thing.SetLicenseUrl(licenseUrl);

Parameters

Type Name Description
String licenseUrl The URL that will provide keycodes for all modules owned by this owner.

Returns

Type Description
Void

SetLicenseVersion(String)

Declaration

Void SetLicenseVersion(String licenseVersion)

Examples

NSLicenseInfo thing;
String licenseVersion;
thing.SetLicenseVersion(licenseVersion);

Parameters

Type Name Description
String licenseVersion The URL that will provide keycodes for all modules owned by this owner.

Returns

Type Description
Void

SetMaintenanceDate(DateTime)

Declaration

Void SetMaintenanceDate(DateTime maintenanceDate)

Examples

NSLicenseInfo thing;
DateTime maintenanceDate;
thing.SetMaintenanceDate(maintenanceDate);

Parameters

Type Name Description
DateTime maintenanceDate Expiration date for maintenance. After this date, upgrades should refuse to install.

Returns

Type Description
Void

SetModuleLicenses(NSModuleLicense[])

Declaration

Void SetModuleLicenses(NSModuleLicense[] moduleLicenses)

Examples

NSLicenseInfo thing;
NSModuleLicense[] moduleLicenses;
thing.SetModuleLicenses(moduleLicenses);

Parameters

Type Name Description
NSModuleLicense[] moduleLicenses The module licenses.

Returns

Type Description
Void

SetNextCheckDate(DateTime)

Declaration

Void SetNextCheckDate(DateTime nextCheckDate)

Examples

NSLicenseInfo thing;
DateTime nextCheckDate;
thing.SetNextCheckDate(nextCheckDate);

Parameters

Type Name Description
DateTime nextCheckDate When should the system next check with the license issuer.

Returns

Type Description
Void

SetOwnerDescription(String)

Declaration

Void SetOwnerDescription(String ownerDescription)

Examples

NSLicenseInfo thing;
String ownerDescription;
thing.SetOwnerDescription(ownerDescription);

Parameters

Type Name Description
String ownerDescription Human-readable description of owner, shown in GUI, default language.

Returns

Type Description
Void

SetOwnerName(String)

Declaration

Void SetOwnerName(String ownerName)

Examples

NSLicenseInfo thing;
String ownerName;
thing.SetOwnerName(ownerName);

Parameters

Type Name Description
String ownerName The name of the module owner, not visible in GUI but used in the code.

Returns

Type Description
Void

SetProductDescription(String)

Declaration

Void SetProductDescription(String productDescription)

Examples

NSLicenseInfo thing;
String productDescription;
thing.SetProductDescription(productDescription);

Parameters

Type Name Description
String productDescription Description of type of product.

Returns

Type Description
Void

SetProductType(String)

Declaration

Void SetProductType(String productType)

Examples

NSLicenseInfo thing;
String productType;
thing.SetProductType(productType);

Parameters

Type Name Description
String productType Type of product.

Returns

Type Description
Void

SetPublicKey(NSSignedPublicKey)

Declaration

Void SetPublicKey(NSSignedPublicKey publicKey)

Examples

NSLicenseInfo thing;
NSSignedPublicKey publicKey;
thing.SetPublicKey(publicKey);

Parameters

Type Name Description
NSSignedPublicKey publicKey The public key used to verify licenses owned by this owner.

Returns

Type Description
Void

SetSerialNr(String)

Declaration

Void SetSerialNr(String serialNr)

Examples

NSLicenseInfo thing;
String serialNr;
thing.SetSerialNr(serialNr);

Parameters

Type Name Description
String serialNr Serial number. For example, 1010000014.

Returns

Type Description
Void

SetSignature(String)

Declaration

Void SetSignature(String signature)

Examples

NSLicenseInfo thing;
String signature;
thing.SetSignature(signature);

Parameters

Type Name Description
String signature Signature of all non-zero-amount moduleLicense rows referring to this owner.

Returns

Type Description
Void