Aracılığıyla paylaş


ConnectivityManager.ActiveNetworkInfo Property

Definition

Returns details about the currently active default data network.

public virtual Android.Net.NetworkInfo? ActiveNetworkInfo { [Android.Runtime.Register("getActiveNetworkInfo", "()Landroid/net/NetworkInfo;", "GetGetActiveNetworkInfoHandler")] [Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")] get; }
[<get: Android.Runtime.Register("getActiveNetworkInfo", "()Landroid/net/NetworkInfo;", "GetGetActiveNetworkInfoHandler")>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_NETWORK_STATE")>]
member this.ActiveNetworkInfo : Android.Net.NetworkInfo

Property Value

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to