DevicePortal.GetMachineNameAsync(DeviceInfo) Method
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 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