Deletes port mapping.

C# | Visual Basic | Visual C++ | F# |
public void DeletePortMapping( string protocol, string remoteHost, int publicPort )
Public Sub DeletePortMapping ( protocol As String, remoteHost As String, publicPort As Integer )
public: void DeletePortMapping( String^ protocol, String^ remoteHost, int publicPort )
member DeletePortMapping : protocol : string * remoteHost : string * publicPort : int -> unit

Exception | Condition |
---|---|
ArgumentNullException | Is raised when protocol is null reference. |
UPnP_Exception | Is raised when UPnP device returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119