DeviceInformation.Name DeviceInformation.Name DeviceInformation.Name DeviceInformation.Name DeviceInformation.Name Property

Definition

The name of the device. This name is in the best available language for the app.

public : Platform::String Name { get; }
winrt::hstring Name();
public string Name { get; }
Public ReadOnly Property Name As string
var string = deviceInformation.name;

Property Value

string string string

The name of the device. This name is in the best available language for the app.

Remarks

The Name property should only be used for display purposes only and not for finding a device because the Name can change due to localization or a user assigning a name.