Click or drag to resize

LicensingUtils Class

Licensing utility methods.
Inheritance Hierarchy
SystemObject
  PDTec.IceNet.Sdk.UtilsLicensingUtils

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static class LicensingUtils

The LicensingUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCheckFeatureLicensed
Checks if a specific feature is licensed.
Public methodStatic memberCheckFeatureLicensedForUser
Checks if a feature is licensed for a specific user. This check also fails if the license allows only a limited number of users and more than this number of users is registered with a licensing profile.
Public methodStatic memberCheckFeatureLicensing
Checks if the number of users for user-based licensing is exceeded.
Public methodStatic memberCheckLicense
Verifies an ice.NET license file. Returns a ILicenseInfo instance if license is valid. Throws a LicenseException if validation fails.
Public methodStatic memberCreateLicense(String, String, String, String, LicenseType, Int32, Boolean, DateTime, DateTime, ListString, String, XmlElement, XmlElement)
Creates a license XML document.
Public methodStatic memberCreateLicense(String, String, String, XmlElement, String, LicenseType, Int32, Boolean, DateTime, DateTime, ListString, String, XmlElement, XmlElement)
Creates a license XML document with a license certificate.
Public methodStatic memberGenerateLicenseNumber
Generates a new license number.
Public methodStatic memberGenerateLicenseNumberUint
Generates a good enough random number out of thin air.
Public methodStatic memberGetLicensingStatus
Retrieves the current licensing status.
Public methodStatic memberGetMacAddresses
Retrieves MAC addresses from a text block produced by the ice.NET license manager or ipconfig /all.
Public methodStatic memberIsFeatureLicensedForUser
Finds out if a feature is licensed for a specific user. If the license allows only a limited number of users and more than this number of users is registered with a licensing profile, an exception is thrown.
Public methodStatic memberVerifyLicense Obsolete.
Verifies an ice.NET license file. Returns a ILicenseInfo instance if license is valid. Throws a LicenseException if validation fails.
Top
See Also