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
Index
Gets the index used by the data comparer.
public string Index { get; }
Property Value
LicenseType
Gets or sets the type of license - for example "Eval".
public string LicenseType { get; set; }
Property Value
LicenseTypeString
Gets or sets the type of license - for example "Evaluation".
public string LicenseTypeString { get; set; }
Property Value
LicensesAvailable
Gets or sets the number of licenses of this type.
public int LicensesAvailable { get; set; }
Property Value
Model
Gets or sets the license model - for example "CCS".
public string Model { get; set; }
Property Value
ModelString
Gets or sets the license model as a human readable string - for example "Concurrent (Legacy)".
public string ModelString { get; set; }
Property Value
ProductName
Gets or sets the internal license product name - for example "XDT".
public string ProductName { get; set; }
Property Value
ProductNameString
Gets or sets the localized license product name - for example "Citrix XenDesktop VDI".
public string ProductNameString { get; set; }
Property Value
SubscriptionAdvantageDate
Gets or sets the subscription advantage expiry date.
public DateTime SubscriptionAdvantageDate { get; set; }
Property Value
Methods
CompareTo(XenDesktopLicense)
Compares two XenDesktop licenses to allow sorting alphabetically by name.
public int CompareTo(XenDesktopLicense other)
Parameters
other
XenDesktopLicenseThe 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
stringThe 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.