WiFiAdapter.Disconnect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
Location consent is now required for Wi-Fi BSSID access. For details on how this affects apps using Wi-Fi or location APIs, see Changes to API behavior for Wi-Fi access and location.
Disconnects any active Wi-Fi connection through this adapter.
public:
virtual void Disconnect() = Disconnect;
void Disconnect();
public void Disconnect();
function disconnect()
Public Sub Disconnect ()