Table of Contents

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

string

CreatedDate

public DateTime CreatedDate { get; set; }

Property Value

DateTime

ExpirationDate

public DateTime ExpirationDate { get; set; }

Property Value

DateTime

FeatureList

public List<string> FeatureList { get; set; }

Property Value

List<string>

InstallationId

public string InstallationId { get; set; }

Property Value

string

ItemList

public List<string> ItemList { get; set; }

Property Value

List<string>

LastUpdatedDate

public DateTime LastUpdatedDate { get; set; }

Property Value

DateTime

LicenseHolderC5Id

public string LicenseHolderC5Id { get; set; }

Property Value

string

LicenseHolderCompanyName

public string LicenseHolderCompanyName { get; set; }

Property Value

string

LicenseId

public string LicenseId { get; set; }

Property Value

string

LicensePartnerC5Id

public string LicensePartnerC5Id { get; set; }

Property Value

string

LicensePartnerName

public string LicensePartnerName { get; set; }

Property Value

string

LicenseStale

public bool LicenseStale { get; set; }

Property Value

bool

LicenseStatus

public string LicenseStatus { get; set; }

Property Value

string

LicenseType

public string LicenseType { get; set; }

Property Value

string

MaxChannels

public int MaxChannels { get; set; }

Property Value

int

MaxCountries

public int MaxCountries { get; set; }

Property Value

int

MaxItems

public int MaxItems { get; set; }

Property Value

int

MaxOrders

public int MaxOrders { get; set; }

Property Value

int

MaxPages

public int MaxPages { get; set; }

Property Value

int

MaxProducts

public int MaxProducts { get; set; }

Property Value

int

MaxRecipients

public int MaxRecipients { get; set; }

Property Value

int

MaxShops

public int MaxShops { get; set; }

Property Value

int

MaxWebsites

public int MaxWebsites { get; set; }

Property Value

int

Name

public string Name { get; set; }

Property Value

string

SolutionId

public string SolutionId { get; set; }

Property Value

string

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 License

An 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

bool

IsTrial()

Indicates if the current license is a trial

public bool IsTrial()

Returns

bool

See Also

To top