Class WindowsPCPackage
The windows representation of a package.
Inheritance
System.Object
WindowsPCPackage
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.WindowsPC.dll
Syntax
public class WindowsPCPackage : IPackage
Constructors
View SourceWindowsPCPackage(WindowsPC, WinPackageInfo)
Initializes a new instance of the WindowsPCPackage class.
Declaration
public WindowsPCPackage(WindowsPC device, WinPackageInfo package)
Parameters
Type | Name | Description |
---|---|---|
WindowsPC | device | The device for the package. |
WinPackageInfo | package | The underlying package. |
Properties
View SourceApplications
Gets the applications inside this package.
Declaration
public IList<IApplication> Applications { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<IApplication> |
AppVersion
Gets the package version.
Declaration
public Version AppVersion { get; }
Property Value
Type | Description |
---|---|
System.Version |
Device
Gets the device that this package is on.
Declaration
public IDevice Device { get; }
Property Value
Type | Description |
---|---|
IDevice |
DisplayName
Gets the display name for the package.
Declaration
public string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
FullPath
Gets the full path to the package.
Declaration
public string FullPath { get; }
Property Value
Type | Description |
---|---|
System.String |
ID
Gets the ID.
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
IsSystem
Gets a value indicating whether or not the package is a system package
Declaration
public bool IsSystem { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PackageName
Gets the package name.
Declaration
public string PackageName { get; }
Property Value
Type | Description |
---|---|
System.String |
WindowsPackage
Gets the underlying windows package.
Declaration
public WinPackageInfo WindowsPackage { get; }
Property Value
Type | Description |
---|---|
WinPackageInfo |
Methods
View SourceGetIsRunningAsync()
Gets a value indicating whether or not the package is running.
Declaration
public Task<bool> GetIsRunningAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |