ConnectivityManager.SetProcessDefaultNetwork(Network) Method

Definition

Caution

deprecated

Binds the current process to network.

[Android.Runtime.Register("setProcessDefaultNetwork", "(Landroid/net/Network;)Z", "", ApiSince=21)]
[System.Obsolete("deprecated")]
public static bool SetProcessDefaultNetwork (Android.Net.Network network);
static member SetProcessDefaultNetwork : Android.Net.Network -> bool

Parameters

network
Network

The Network to bind the current process to, or null to clear the current binding.

Returns

Boolean
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