Share via


DialReceiverApp.GetUniqueDeviceNameAsync Method

Definition

Asynchronously gets the unique device name of the DIAL server device.

public:
 virtual IAsyncOperation<Platform::String ^> ^ GetUniqueDeviceNameAsync() = GetUniqueDeviceNameAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<winrt::hstring> GetUniqueDeviceNameAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<string> GetUniqueDeviceNameAsync();
function getUniqueDeviceNameAsync()
Public Function GetUniqueDeviceNameAsync () As IAsyncOperation(Of String)

Returns

IAsyncOperation<String>

IAsyncOperation<Platform::String>

IAsyncOperation<winrt::hstring>

An asynchronous operation that returns a string on completion.

Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to