Android.Net.Wifi.WifiManager.AddNetwork Method
Add a new network description to the set of configured networks.

Syntax

[Android.Runtime.Register("addNetwork", "(Landroid/net/wifi/WifiConfiguration;)I", "GetAddNetwork_Landroid_net_wifi_WifiConfiguration_Handler")]
public virtual int AddNetwork (WifiConfiguration config)

Parameters

config
the set of variables that describe the configuration, contained in a Android.Net.Wifi.WifiConfiguration object.

Returns

Documentation for this section has not yet been entered.

Remarks

Add a new network description to the set of configured networks. The networkId field of the supplied configuration object is ignored.

The new network will be marked DISABLED by default. To enable it, called WifiManager.EnableNetwork(int, System.Boolean).

[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