9400 .NET Programming
ResetWlanPreferredList
Purpose
To clear the list of preferred wireless networks (via access points).
Syntax
int ResetWlanPreferredList ();
Example for C#
int b1 = 0;
b1 = Cipherlab.SystemAPI.Member.ResetWlanPreferredList();
Example for VB
Cipherlab.SystemAPI.Member.ResetWlanPreferredList()
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
Remarks
It will terminate the current connection.
156
Guide
Call GetErrorCode() to find the error condition encountered:
8
ERROR_WLAN_QUIRY_INTERFACE (Failed to inquiry interface)