Table of Contents

Class XenDesktopLicense

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an individual XenDesktop license.

public class XenDesktopLicense : GlobalSerializableClassicBase, IComparable<XenDesktopLicense>
Inheritance
XenDesktopLicense
Implements

Constructors

XenDesktopLicense()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.XenDesktopLicense class.

public XenDesktopLicense()

Properties

Edition

Gets or sets the internal license edition - for example "PLT".

public string Edition { get; set; }

Property Value

string

Index

Gets the index used by the data comparer.

public string Index { get; }

Property Value

string

LicenseType

Gets or sets the type of license - for example "Eval".

public string LicenseType { get; set; }

Property Value

string

LicenseTypeString

Gets or sets the type of license - for example "Evaluation".

public string LicenseTypeString { get; set; }

Property Value

string

LicensesAvailable

Gets or sets the number of licenses of this type.

public int LicensesAvailable { get; set; }

Property Value

int

Model

Gets or sets the license model - for example "CCS".

public string Model { get; set; }

Property Value

string

ModelString

Gets or sets the license model as a human readable string - for example "Concurrent (Legacy)".

public string ModelString { get; set; }

Property Value

string

ProductName

Gets or sets the internal license product name - for example "XDT".

public string ProductName { get; set; }

Property Value

string

ProductNameString

Gets or sets the localized license product name - for example "Citrix XenDesktop VDI".

public string ProductNameString { get; set; }

Property Value

string

SubscriptionAdvantageDate

Gets or sets the subscription advantage expiry date.

public DateTime SubscriptionAdvantageDate { get; set; }

Property Value

DateTime

Methods

CompareTo(XenDesktopLicense)

Compares two XenDesktop licenses to allow sorting alphabetically by name.

public int CompareTo(XenDesktopLicense other)

Parameters

other XenDesktopLicense

The XenDesktop license to compare to.

Returns

int

The sort order of the two items.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.XenDesktopLicense class from the specified XML.

public static XenDesktopLicense FromXml(string Xml)

Parameters

Xml string

The XML representation of the object.

Returns

XenDesktopLicense

A CENTREL.XIA.Configuration.Types.XenDesktopLicense class.

ToString()

Returns the localized license product name - for example "Citrix XenDesktop VDI".

public override string ToString()

Returns

string

A System.String value.