Methods (2) Properties (1)
Namespace: CSCore.CoreAudioAPI

Syntax

public class DeviceNotificationEventArgs : EventArgs

Base Type

  • System.EventArgs

Summary

Provides basic data for all device notification events.

Uses

Methods

DeviceNotificationEventArgs(String deviceId)

Initializes a new instance of the DeviceNotificationEventArgs class.

public void DeviceNotificationEventArgs(String deviceId)

Parameters

deviceId

String

The device id that identifies the audio endpoint device.

TryGetDevice(MMDevice& device)

Tries the get device associated with the DeviceId.

public Boolean TryGetDevice(MMDevice& device)

Parameters

device

MMDevice&

The device associated with the DeviceId. If the return value is false, the device will be null.

Returns

true if the associated device be successfully retrieved; false otherwise.

Properties

DeviceId

Gets the device id that identifies the audio endpoint device.

public String DeviceId { get; set; }