| File: DeviceInfo\DeviceInfo.netstandard.cs | Web Access |
| Project: src\src\Essentials\src\Essentials.csproj (Microsoft.Maui.Essentials) |
using System; using Microsoft.Maui.ApplicationModel; namespace Microsoft.Maui.Devices { class DeviceInfoImplementation : IDeviceInfo { public string Model => throw ExceptionUtils.NotSupportedOrImplementedException; public string Manufacturer => throw ExceptionUtils.NotSupportedOrImplementedException; public string Name => throw ExceptionUtils.NotSupportedOrImplementedException; public string VersionString => throw ExceptionUtils.NotSupportedOrImplementedException; public Version Version => throw ExceptionUtils.NotSupportedOrImplementedException; public DevicePlatform Platform => DevicePlatform.Unknown; public DeviceIdiom Idiom => DeviceIdiom.Unknown; public DeviceType DeviceType => DeviceType.Unknown; } }