tModLoader v2024.04
A mod to make and play Terraria mods
UPnP Class Reference

A simple UPnP library See: More...

Static Public Member Functions

static void Close (Protocol protocol, ushort externalPort)
static Dictionary< string, string > GetGenericPortMappingEntry (int portMappingIndex)
static bool IsOpen (Protocol protocol, ushort externalPort)
static void Open (Protocol protocol, ushort externalPort, ushort? internalPort=null, string description=null)


static IPAddress ExternalIP [get]
static bool IsAvailable [get]
static IPAddress LocalIP [get]

Detailed Description