Udostępnij za pośrednictwem


Connectivity.NetworkAccess Property

Definition

Gets the current state of network access. Does not guarantee full access to the internet.

public static Xamarin.Essentials.NetworkAccess NetworkAccess { get; }

Property Value

The current network access state.

Remarks

Can throw PermissionException on Android if ACCESS_NETWORK_STATE is not set in manifest.

Applies to