Class DeviceInfo
Represents information about the device.
Inherited Members
Namespace: Evergine.Platform
Assembly: Evergine.Platform.dll
Syntax
public static class DeviceInfo
Properties
DisplayOrientation
Gets the display orientation of the device.
Declaration
public static DisplayOrientation DisplayOrientation { get; }
Property Value
Type | Description |
---|---|
DisplayOrientation |
IsPhysical
Gets a value indicating whether the application is running on a physical or virtual device. A virtual device is a simulator or emulator.
Declaration
public static bool IsPhysical { get; }
Property Value
Type | Description |
---|---|
bool |
Manufacturer
Gets the manufacturer of the device.
Declaration
public static string Manufacturer { get; }
Property Value
Type | Description |
---|---|
string |
Model
Gets the model of the device.
Declaration
public static string Model { get; }
Property Value
Type | Description |
---|---|
string |
Name
Gets the name of the device.
Declaration
public static string Name { get; }
Property Value
Type | Description |
---|---|
string |
PlatformFamily
Gets the idiom of the device.
Declaration
public static PlatformFamily PlatformFamily { get; }
Property Value
Type | Description |
---|---|
PlatformFamily |
PlatformType
Gets the platform or operating system of the device.
Declaration
public static PlatformType PlatformType { get; }
Property Value
Type | Description |
---|---|
PlatformType |
VersionString
Gets the version of the operating system.
Declaration
public static string VersionString { get; }
Property Value
Type | Description |
---|---|
string |