Table of Contents

Class RuntimeInformationProvider

Namespace
Amazon.Runtime.Internal
Assembly
AWSSDK.Core.dll
public class RuntimeInformationProvider : IRuntimeInformationProvider
Inheritance
RuntimeInformationProvider
Implements
Inherited Members

Constructors

RuntimeInformationProvider()

public RuntimeInformationProvider()

Methods

IsMobile()

public bool IsMobile()

Returns

bool

Remarks

SDK does not do intelligent checks like checking package references or reflection to determine whether the current project is a mobile project because of performance reasons. Moving forward, when .NET 6 support is added, it should use OperatingSystem.IsAndroid https://docs.microsoft.com/en-us/dotnet/api/system.operatingsystem.isandroid or OperatingSystem.IsIOS https://docs.microsoft.com/en-us/dotnet/api/system.operatingsystem.isios to determine whether the current application is running on Mobile or not.