Class Process
The Process class contains information about a client process connected to the HAL.
public sealed class Process : AudioObject, IEquatable<AudioObject>, IEqualityOperators<AudioObject, AudioObject, bool>
- Inheritance
-
Process
- Implements
- Inherited Members
Properties
BundleID
A string that contains the bundle ID of the process.
public string BundleID { get; }
Property Value
IsRunning
A bool where a value of false indicates that the process is not running any IO or there is not any active input streams, and a value of true indicates that the process is running IO and there is at least one active input stream.
public bool IsRunning { get; }
Property Value
IsRunningInput
A bool where a value of false indicates that the process is not running any IO or there is not any active input streams, and a value of true indicates that the process is running IO and there is at least one active input stream.
public bool IsRunningInput { get; }
Property Value
IsRunningOutput
A bool where a value of false indicates that the process is not running any IO or there is not any active output streams, and a value of true indicates that the process is running IO and there is at least one active output stream.
public bool IsRunningOutput { get; }
Property Value
PID
A pid indicating the process ID associated with the process.
public int PID { get; }
Property Value
Methods
GetDevices(AudioObjectPropertyScope)
An array of AudioDevices that represent the devices currently used by the process for input or used by the process for output. The scope will select the input or output device list.
public AudioDevice[] GetDevices(AudioObjectPropertyScope scope)
Parameters
scopeAudioObjectPropertyScope