Click or drag to resize

UPNPDeletePortMapping Method

Deletes the port mapping for the given port and protocol combination on the default gateway (see GetGateway) if one exists. port must be a valid port between 1 and 65535, proto can be either TCP or UDP. See UPNPUPNPResult for possible return values.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public int DeletePortMapping(
	int port,
	string proto = "UDP"
)

Parameters

port
Type: SystemInt32

[Missing <param name="port"/> documentation for "M:Godot.UPNP.DeletePortMapping(System.Int32,System.String)"]

proto (Optional)
Type: SystemString

[Missing <param name="proto"/> documentation for "M:Godot.UPNP.DeletePortMapping(System.Int32,System.String)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.UPNP.DeletePortMapping(System.Int32,System.String)"]

See Also