UtilProcessGetProcessRamPercentUsageAsync(Int32) Method

Asynchronously gets the RAM percentage usage (the amount of physical memory allocated) for the process with the specified process id. (PID).

Definition

Namespace: DevCase.Core.Diagnostics.Processes
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Task<float> GetProcessRamPercentUsageAsync(
	int pid
)

Parameters

pid  Int32
The process id.

Return Value

TaskSingle
The resulting RAM percentage usage (the amount of physical memory allocated) for the process with the specified process id. (PID).

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also