Note

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

Access to this page requires authorization. You can try .

DeviceInfo Class

Definition

Namespace:
Microsoft.Maui.Devices
Assembly:
Microsoft.Maui.Essentials.dll
Source:
DeviceInfo.shared.cs
Source:
DeviceInfo.shared.cs
Source:
DeviceInfo.shared.cs
Source:
DeviceInfo.shared.cs

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.

Represents information about the device.

public ref class DeviceInfo abstract sealed
public static class DeviceInfo
type DeviceInfo = class
Public Class DeviceInfo
Inheritance
DeviceInfo

Properties

Name Description
Current

Provides the default implementation for static usage of this API.

DeviceType

Gets the type of device the application is running on.

Idiom

Gets the idiom (form factor) of the device.

Manufacturer

Gets the manufacturer of the device.

Model

Gets the model of the device.

Name

Gets the name of the device.

Platform

Gets the platform or operating system of the device.

Version

Gets the version of the operating system.

VersionString

Gets the string representation of the version of the operating system.

Applies to


Feedback

Was this page helpful?