Class RegistrationInformation
Represents information about the Colectica installation.
Inheritance
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class RegistrationInformation : object
Constructors
RegistrationInformation()
Initializes a new instance of the RegistrationInformation class.
Declaration
public RegistrationInformation()
Properties
ActivationVersion
Gets or sets the activation version.
Declaration
public int ActivationVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The activation version. |
CpuId
Gets or sets the CPU identifier.
Declaration
public string CpuId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The CPU identifier. |
CustomerName
Gets or sets the name of the customer.
Declaration
public string CustomerName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the customer. |
CustomerSince
Gets or sets the date since which the customer has been a customer.
Declaration
public DateTime CustomerSince { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
EnterpriseDeploy
Gets or sets a value indicating whether this is an enterprise deployment.
Declaration
public bool EnterpriseDeploy { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ExpirationDate
Gets or sets the expiration date.
Declaration
public DateTime? ExpirationDate { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> | The expiration date. |
MacAddresses
Gets or sets the MAC addresses.
Declaration
public string MacAddresses { get; set; }
Property Value
Type | Description |
---|---|
System.String | The MAC addresses. |
MotherboardId
Gets or sets the motherboard identifier.
Declaration
public string MotherboardId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The motherboard identifier. |
PrimaryHardDriveId
Gets or sets the primary hard drive identifier.
Declaration
public string PrimaryHardDriveId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The primary hard drive identifier. |
ProductMajorVersion
Gets or sets the version of the product.
Declaration
public int ? ProductMajorVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The version of the product. |
ProductMinorVersion
Gets or sets the version of the product.
Declaration
public int ? ProductMinorVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The version of the product. |
ProductName
Gets or sets the name of the product.
Declaration
public string ProductName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the product. |
ProductRevisionVersion
Gets or sets the version of the product.
Declaration
public int ? ProductRevisionVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The version of the product. |
RegistrationNumber
Gets or sets the RegistrationNumber of the product.
Declaration
public long ? RegistrationNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | The RegistrationNumber of the product. |
Signed
Gets or sets a value indicating whether this RegistrationInformation is signed.
Declaration
public bool Signed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
IsLegalXmlChar(Int32)
Whether a given character is allowed by XML 1.0.
Declaration
public bool IsLegalXmlChar(int character)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | character |
Returns
Type | Description |
---|---|
System.Boolean |
Populate()
Populates this instance.
Declaration
public void Populate()
SanitizeXmlString(String)
Remove illegal XML characters from a string.
Declaration
public string SanitizeXmlString(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml |
Returns
Type | Description |
---|---|
System.String |