Click or drag to resize

wclNlmNetworkGetCategory Method

Reads the category of the network.

Namespace: wclWiFi
Assembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntax
public int GetCategory(
	out wclNlmNetworkCategory Category
)

Parameters

Category  wclNlmNetworkCategory
On output specifies the category information for the network.

Return Value

Int32
If the function succeeded the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
The private or public network categories must never be used to assume which Windows Firewall ports are open, as the user can change the default settings of these categories. Instead, Windows Firewall APIs should be called to ensure the ports that the required ports are open.
See Also