AudioPlaybackConnection.DeviceId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the unique device ID for the underlying device represented by the AudioPlaybackConnection.
public:
property Platform::String ^ DeviceId { Platform::String ^ get(); };
winrt::hstring DeviceId();
public string DeviceId { get; }
var string = audioPlaybackConnection.deviceId;
Public ReadOnly Property DeviceId As String
Property Value
The unique device ID for the underlying device represented by the AudioPlaybackConnection.
Remarks
The returned ID is the same ID used to create the connection in the call to TryCreateFromId. If the connection was created from a transport that does not have a corresponding transport device, then this property’s value is an empty string.