Android.Net.Wifi.WifiManager.DisableNetwork Method
Disable a configured network.

Syntax

[Android.Runtime.Register("disableNetwork", "(I)Z", "GetDisableNetwork_IHandler")]
public virtual bool DisableNetwork (int netId)

Parameters

netId
the ID of the network as returned by WifiManager.AddNetwork(WifiConfiguration).

Returns

Documentation for this section has not yet been entered.

Remarks

Disable a configured network. The specified network will not be a candidate for associating. This may result in the asynchronous delivery of state change events.

[Android Documentation]

Requirements

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