Class License
- Namespace
- Dynamicweb.Security.Licensing
- Assembly
- Dynamicweb.Core.dll
This file contains the information of what a license entails.
[Serializable]
public class License : IComparable<License>
- Inheritance
-
License
- Implements
- Inherited Members
- Extension Methods
Constructors
License()
public License()
Properties
CreatedBy
public string CreatedBy { get; set; }
Property Value
CreatedDate
public DateTime CreatedDate { get; set; }
Property Value
ExpirationDate
public DateTime ExpirationDate { get; set; }
Property Value
FeatureList
public List<string> FeatureList { get; set; }
Property Value
InstallationId
public string InstallationId { get; set; }
Property Value
ItemList
public List<string> ItemList { get; set; }
Property Value
LastUpdatedDate
public DateTime LastUpdatedDate { get; set; }
Property Value
LicenseHolderC5Id
public string LicenseHolderC5Id { get; set; }
Property Value
LicenseHolderCompanyName
public string LicenseHolderCompanyName { get; set; }
Property Value
LicenseId
public string LicenseId { get; set; }
Property Value
LicensePartnerC5Id
public string LicensePartnerC5Id { get; set; }
Property Value
LicensePartnerName
public string LicensePartnerName { get; set; }
Property Value
LicenseStale
public bool LicenseStale { get; set; }
Property Value
LicenseStatus
public string LicenseStatus { get; set; }
Property Value
LicenseType
public string LicenseType { get; set; }
Property Value
MaxChannels
public int MaxChannels { get; set; }
Property Value
MaxCountries
public int MaxCountries { get; set; }
Property Value
MaxItems
public int MaxItems { get; set; }
Property Value
MaxOrders
public int MaxOrders { get; set; }
Property Value
MaxPages
public int MaxPages { get; set; }
Property Value
MaxProducts
public int MaxProducts { get; set; }
Property Value
MaxRecipients
public int MaxRecipients { get; set; }
Property Value
MaxShops
public int MaxShops { get; set; }
Property Value
MaxWebsites
public int MaxWebsites { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
SolutionId
public string SolutionId { get; set; }
Property Value
Methods
CompareTo(License)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
public int CompareTo(License other)
Parameters
other
LicenseAn object to compare with this instance.
Returns
- int
A value that indicates the relative order of the objects being compared. The return value has these meanings:
Value Meaning Less than zero This instance precedes other
in the sort order.Zero This instance occurs in the same position in the sort order as other
.Greater than zero This instance follows other
in the sort order.
Equals(License)
public bool Equals(License other)
Parameters
other
License
Returns
IsTrial()
Indicates if the current license is a trial
public bool IsTrial()
Returns
See Also
IComparable<T>