Android.Net.Wifi.WifiManager.EnableNetwork Method
Allow a previously configured network to be associated with.

Syntax

[Android.Runtime.Register("enableNetwork", "(IZ)Z", "GetEnableNetwork_IZHandler")]
public virtual bool EnableNetwork (int netId, bool disableOthers)

Parameters

netId
the ID of the network in the list of configured networks
disableOthers
if true, disable all other networks. The way to select a particular network to connect to is specify true for this parameter.

Returns

Documentation for this section has not yet been entered.

Remarks

Allow a previously configured network to be associated with. If disableOthers is true, then all other configured networks are disabled, and an attempt to connect to the selected network is initiated. 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