Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DeviceInformation.Name 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.

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

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

Property Value

String

Platform::String

winrt::hstring

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.

Applies to


Feedback

Was this page helpful?