.disassociate Method

Function:

Causes the Wi-Fi interface to commence disassociation from a wireless network. This method is a task.

Syntax:

wln.disassociate() as accepted_rejected

Returns:

One of accepted_rejected constants:

  • 0 — ACCEPTED
  • 1 — REJECTED

See Also:

Disassociating from a Network, wln.associate, wln.associationstate