NLM_NETWORK_CATEGORY enumeration

The NLM_NETWORK_CATEGORY enumeration is a set of flags that specify the category type of a network.

Syntax


typedef enum NLM_NETWORK_CATEGORY { 
  NLM_NETWORK_CATEGORY_PUBLIC                = 0x00,
  NLM_NETWORK_CATEGORY_PRIVATE               = 0x01,
  NLM_NETWORK_CATEGORY_DOMAIN_AUTHENTICATED  = 0x02
} NLM_NETWORK_CATEGORY;

Constants

NLM_NETWORK_CATEGORY_PUBLIC

The network is a public (untrusted) network.

NLM_NETWORK_CATEGORY_PRIVATE

The network is a private (trusted) network.

NLM_NETWORK_CATEGORY_DOMAIN_AUTHENTICATED

The network is authenticated against an Active Directory domain.

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, Firewall APIs should be called to ensure the ports that the required ports are open.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Netlistmgr.h

IDL

Netlistmgr.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft