wclNetworkListManagerGetNetworks Method |
Retrieves the list of networks available on the local
machine.
Namespace: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int GetNetworks(
wclNlmEnumNetwork Flags,
out wclNlmNetwork[] Networks
)
Public Function GetNetworks (
Flags As wclNlmEnumNetwork,
<OutAttribute> ByRef Networks As wclNlmNetwork()
) As Integer
public:
int GetNetworks(
wclNlmEnumNetwork Flags,
[OutAttribute] array<wclNlmNetwork^>^% Networks
)
Parameters
- Flags wclNlmEnumNetwork
- The value specifies the flags for the network
(specifically, connected or not connected).
- Networks wclNlmNetwork
- A dynamic array that receives the
wclNlmNetwork class objects for available
networks. An application is responsible to free all the Network
objects in the array as well as release the memory allocated for the
dynamic array.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
See Also