Android.Net.ConnectivityManager.ActiveNetworkInfo Property
Returns details about the currently active default data network.

Syntax

[get: Android.Runtime.Register("getActiveNetworkInfo", "()Landroid/net/NetworkInfo;", "GetGetActiveNetworkInfoHandler")]
public virtual NetworkInfo ActiveNetworkInfo { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns details about the currently active default data network. When connected, this network is the default route for outgoing connections. You should always check NetworkInfo.IsConnected before initiating network traffic. This may return null when there is no default network.

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1