The enumeration is a set of flags that specify the category type of a network.
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, Firewall APIs should be called to ensure the ports that the required ports are open.
Enumerator
nlmCategoryPublic
The network is a public (untrusted) network.
nlmCategoryPrivate
The network is a private (trusted) network.
nlmCategoryDomainAuthenticated
The network is authenticated against an Active Directory domain.