DevicePortal.GetMachineNameAsync(DeviceInfo) Method

Definition

Gets the MachineName of the target device.

public:
 static System::Threading::Tasks::Task<Microsoft::MixedReality::Toolkit::WindowsDevicePortal::MachineName ^> ^ GetMachineNameAsync(Microsoft::MixedReality::Toolkit::WindowsDevicePortal::DeviceInfo ^ targetDevice);
public static System.Threading.Tasks.Task<Microsoft.MixedReality.Toolkit.WindowsDevicePortal.MachineName> GetMachineNameAsync (Microsoft.MixedReality.Toolkit.WindowsDevicePortal.DeviceInfo targetDevice);
static member GetMachineNameAsync : Microsoft.MixedReality.Toolkit.WindowsDevicePortal.DeviceInfo -> System.Threading.Tasks.Task<Microsoft.MixedReality.Toolkit.WindowsDevicePortal.MachineName>
Public Shared Function GetMachineNameAsync (targetDevice As DeviceInfo) As Task(Of MachineName)

Parameters

targetDevice
DeviceInfo

Returns

Task<MachineName>

MachineName

Applies to