Click or drag to resize
UPnpPortMap Class
A UPnP port mapping client. It allows client applications to open up a NAT port on a NAT and UPnP capable router.
Inheritance Hierarchy
SystemObject
  StreamCoders.NetworkUPnpPortMap

Namespace: StreamCoders.Network
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class UPnpPortMap

The UPnpPortMap type exposes the following members.

Constructors
  NameDescription
Public methodUPnpPortMap
Default constructor.
Top
Properties
Methods
  NameDescription
Public methodGetExternalAddress
Retrieves the routers external IP address.
Public methodGetServiceEndpoints
Retrieves service endpoints in the local network that represent an internet routing device.
Public methodGetServiceLocations
Retrieves service locations in local network freely configurable through DiscoveryDeviceFilter and DiscoveryMessage.
Public methodMap
Maps an ExternalIP:port to a internal LAN IP:port mapping operation.
Public methodUnMap
Unmaps a previously mapped port forwarding operation.
Top
Fields
  NameDescription
Public fieldServiceHostExclusionList
A list containing the host IP addresses of endpoints that must not be queried. By default this includes the local NICs IP address(es).
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Top
Remarks
UPnP operations require a UPnP capable router with the UPnP port mapping feature enabled.
See Also