DeviceInfo.Platform Property

Definition

Gets the platform or operating system of the device.

public:
 static property Microsoft::Maui::Devices::DevicePlatform Platform { Microsoft::Maui::Devices::DevicePlatform get(); };
public static Microsoft.Maui.Devices.DevicePlatform Platform { get; }
static member Platform : Microsoft.Maui.Devices.DevicePlatform
Public Shared ReadOnly Property Platform As DevicePlatform

Property Value

The platform of device.

Applies to