INetSharingPortMappingProps interface (netcon.h)

[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]

The INetSharingPortMappingProps interface provides methods that retrieve and set the properties of a network connection port mapping.

Inheritance

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

Methods

The INetSharingPortMappingProps interface has these methods.

 
INetSharingPortMappingProps::get_Enabled

The get_Enabled method retrieves the status for this port mapping.
INetSharingPortMappingProps::get_ExternalPort

The get_ExternalPort method retrieves the external port associated with this port mapping.
INetSharingPortMappingProps::get_InternalPort

The get_InternalPort method retrieves the internal port associated with this port mapping.
INetSharingPortMappingProps::get_IPProtocol

The get_IPProtocol method retrieves the IP Protocol associated with this port mapping.
INetSharingPortMappingProps::get_Name

The get_Name method retrieves the name for this port mapping.
INetSharingPortMappingProps::get_Options

The get_Options method retrieves the options associated with this port mapping.
INetSharingPortMappingProps::get_TargetIPAddress

The get_TargetIPAddress method retrieves the IP address of the target computer for this port mapping.
INetSharingPortMappingProps::get_TargetName

The get_TargetName method retrieves the name of the target computer for this port mapping.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header netcon.h