Class WindowsInstalledProgram
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a program installed on a Windows machine.
public class WindowsInstalledProgram : GlobalSerializableClassicBase, IComparable<WindowsInstalledProgram>
- Inheritance
-
WindowsInstalledProgram
- Implements
Constructors
WindowsInstalledProgram()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsInstalledProgram class.
public WindowsInstalledProgram()
Properties
CollectionIndex
Gets the collection index used by the data comparer. This allows for two applications (both 32bit and 64bit) installed with the same identifier.
[Browsable(false)]
public string CollectionIndex { get; }
Property Value
Comments
Gets or sets additional comments about this application.
public string Comments { get; set; }
Property Value
Contact
Gets or sets the support contact for this program.
public string Contact { get; set; }
Property Value
DisplayName
Gets or sets the display name for this program - for example "Microsoft Office Professional Plus 2010".
public string DisplayName { get; set; }
Property Value
DisplayVersion
Gets or sets the version number of this program in Human readable format - for example "9.1.3.0".
public string DisplayVersion { get; set; }
Property Value
EstimatedSize
Gets or sets the estimated size of the installation in KB.
public uint EstimatedSize { get; set; }
Property Value
EstimatedSizeString
Gets the estimated size of the installation in a human readable format.
public string EstimatedSizeString { get; set; }
Property Value
HelpLink
Gets or sets the URL where additional help for this program can be found.
public string HelpLink { get; set; }
Property Value
ID
Gets or sets the ID of this application - for example "{A038F0F0-ED87-4B1F-8C3E-5312ABD9774B}" or "Office14.PROPLUS".
public string ID { get; set; }
Property Value
Remarks
This information is obtained from the uninstall registry key name.
InstallDate
Gets or sets the installation date as a System.DateTime value.
public DateTime InstallDate { get; set; }
Property Value
InstallLocation
Gets or sets the path where this application is installed - for example "C:\Program Files\Microsoft Office".
public string InstallLocation { get; set; }
Property Value
InstallSource
Gets or sets the path to the source files that were used to install this program - for example "D:\install\application.msi".
public string InstallSource { get; set; }
Property Value
PlatformType
Gets or sets the installed program's platform type - either x86 or x64.
public InstalledProgramPlatformType PlatformType { get; set; }
Property Value
PlatformTypeString
Gets the platform type as a human readable string.
public string PlatformTypeString { get; }
Property Value
Publisher
Gets or sets the name of the publisher of this program - for example "Microsoft Corporation".
public string Publisher { get; set; }
Property Value
Methods
CompareTo(WindowsInstalledProgram)
Compares two CENTREL.XIA.Configuration.Types.WindowsInstalledProgram to allow sorting alphabetically by display name.
public int CompareTo(WindowsInstalledProgram other)
Parameters
other
WindowsInstalledProgramThe CENTREL.XIA.Configuration.Types.WindowsInstalledProgram to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.WindowsInstalledProgram objects.
ToString()
Returns the display name of this program.
public override string ToString()
Returns
- string
The display name of this program.