Volume Control
Application-specific hotkeys for Windows
VolumeControl.Core.Structs.TargetInfo Struct Reference

Contains metadata for saving audio sessions to and from the config More...

Collaboration diagram for VolumeControl.Core.Structs.TargetInfo:

Public Member Functions

 TargetInfo ()
 Creates a new TargetInfo instance with default values. More...
 

Static Public Member Functions

static operator TargetInfo (string s)
 Conversion operator from string More...
 

Static Public Attributes

static readonly TargetInfo Empty = new()
 Blank TargetInfo object. More...
 

Properties

uint? PID [get, set]
 Gets or sets the process ID of this target. More...
 
string ProcessName [get, set]
 Gets or sets the process name of this target. More...
 
string ProcessIdentifier [get]
 Gets the process identifier of this target in the form "PID:ProcessName" More...
 
string SessionInstanceIdentifier [get, set]
 Gets or sets the session instance identifier of this target. More...
 

Detailed Description

Contains metadata for saving audio sessions to and from the config

Constructor & Destructor Documentation

◆ TargetInfo()

VolumeControl.Core.Structs.TargetInfo.TargetInfo ( )

Member Function Documentation

◆ operator TargetInfo()

static VolumeControl.Core.Structs.TargetInfo.operator TargetInfo ( string  s)
explicitstatic

Conversion operator from string

References VolumeControl.Core.Structs.TargetInfo.ProcessName.

Member Data Documentation

◆ Empty

readonly TargetInfo VolumeControl.Core.Structs.TargetInfo.Empty = new()
static

Blank TargetInfo object.

Property Documentation

◆ PID

uint? VolumeControl.Core.Structs.TargetInfo.PID
getset

Gets or sets the process ID of this target.

Referenced by VolumeControl.Core.Structs.TargetInfo.TargetInfo().

◆ ProcessIdentifier

string VolumeControl.Core.Structs.TargetInfo.ProcessIdentifier
get

Gets the process identifier of this target in the form "PID:ProcessName"

◆ ProcessName

string VolumeControl.Core.Structs.TargetInfo.ProcessName
getset

◆ SessionInstanceIdentifier

string VolumeControl.Core.Structs.TargetInfo.SessionInstanceIdentifier
getset

Gets or sets the session instance identifier of this target.

Referenced by VolumeControl.Core.Structs.TargetInfo.TargetInfo().


The documentation for this struct was generated from the following file: