Android.Net.Wifi.WifiManager.SetWifiEnabled Method
Enable or disable Wi-Fi.

Syntax

[Android.Runtime.Register("setWifiEnabled", "(Z)Z", "GetSetWifiEnabled_ZHandler")]
public virtual bool SetWifiEnabled (bool enabled)

Parameters

enabled
true to enable, false to disable.

Returns

Documentation for this section has not yet been entered.

Remarks

Enable or disable Wi-Fi.

[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