Class AppProcessInfo
The process info for an app.
Inherited Members
Namespace: Microsoft.XboxStudios.DeviceConsole.Environments.Performance
Assembly: DeviceConsole.Environments.dll
Syntax
public class AppProcessInfo : ProcessInfo
Constructors
View SourceAppProcessInfo(string, string, uint, uint, float, ulong, ulong, ulong, ulong, string, string, ulong, bool, string)
Initializes a new instance of the AppProcessInfo class.
Declaration
public AppProcessInfo(string name, string userName, uint processId, uint sessionId, float cpuUsage, ulong pageFile, ulong workingSet, ulong privateWorkingSet, ulong virtualSize, string appName, string packageFullName, ulong totalCommit, bool isAppRunning, string publisher)
Parameters
Type | Name | Description |
---|---|---|
string | name | The process name. |
string | userName | The user the process is running as. |
uint | processId | The process id (pid). |
uint | sessionId | The session id. |
float | cpuUsage | The CPU Usage as a percentage of available CPU resources (0-100). |
ulong | pageFile | The Page file usage info, in bytes. |
ulong | workingSet | The working set size, in bytes. |
ulong | privateWorkingSet | The package working set, in bytes. |
ulong | virtualSize | The virtual size, in bytes. |
string | appName | The app name. |
string | packageFullName | The package full name. |
ulong | totalCommit | The total commit, in bytes. |
bool | isAppRunning | A value indicating whether or not the app is running (versus suspended). |
string | publisher | The app publisher. |
Properties
View SourceAppName
Gets the app name.
Declaration
public string AppName { get; }
Property Value
Type | Description |
---|---|
string |
IsAppRunning
Gets a value indicating whether or not the app is running (versus suspended).
Declaration
public bool IsAppRunning { get; }
Property Value
Type | Description |
---|---|
bool |
PackageFullName
Gets the package full name.
Declaration
public string PackageFullName { get; }
Property Value
Type | Description |
---|---|
string |
Publisher
Gets the app publisher.
Declaration
public string Publisher { get; }
Property Value
Type | Description |
---|---|
string |
TotalCommit
Gets total commit, in bytes.
Declaration
public ulong TotalCommit { get; }
Property Value
Type | Description |
---|---|
ulong |