wclNlmNetworkGetCategory Method |
Reads the category of the network.
Namespace: wclWiFiAssembly: wclWiFiFramework (in wclWiFiFramework.dll) Version: 7.13.1.0 (7.13.1.0)
Syntaxpublic int GetCategory(
out wclNlmNetworkCategory Category
)
Public Function GetCategory (
<OutAttribute> ByRef Category As wclNlmNetworkCategory
) As Integer
public:
int GetCategory(
[OutAttribute] 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