Edit

Share via


OperatingSystem.IsAndroid Method

Definition

Indicates whether the current application is running on Android.

public static bool IsAndroid();

Returns

true if the current application is running on Android; false otherwise.

Applies to

Product Versions
.NET 5, 6, 7, 8, 9, 10