Partager via


Network Address Translation Traversal Interfaces

The following interfaces make it possible to manage Network Address Translation (NAT) through UPnP™.

Interface Purpose
IUPnPNAT Primary interface for UPnP management of NAT.
INATEventManager Provides methods to register application-defined callback interfaces.
IDynamicPortMappingCollection This interface is not currently supported.
IDynamicPortMapping This interface is not currently supported.
IStaticPortMappingCollection Collection interface for static port mappings.
IStaticPortMapping Provides methods for managing a specific port mapping.

 

The following interfaces are implemented by the client application. The NAT calls the methods in these interfaces in order to inform the client of changes in the NAT configuration.

Interface Purpose
INATExternalIPAddressCallback Provides a method that the system calls if the NAT's external IP address changes.
INATNumberOfEntriesCallback Provides a method that the system calls if the number of port mappings changes.