IUPnPNAT interface (natupnp.h)

The IUPnPNAT interface is the primary interface for managing Network Address Translation (NAT) with UPnP. The IUPnPNAT interface provides access directly or indirectly to all the other interfaces in the NAT API with UPnP technology.


The IUPnPNAT interface inherits from the IDispatch interface. IUPnPNAT also has these types of members:


The IUPnPNAT interface has these methods.


The get_NATEventManager method retrieves an INATEventManager interface for the NAT used by the local computer.

The get_StaticPortMappingCollection method retrieves an interface for the collection of static port mappings on the NAT used by the local computer.


Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header natupnp.h

See also

Network Address Translation Traversal Interfaces