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

A simple UPnP library See: https://github.com/Rartrin/UwUPnP 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)
 

Properties

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

Detailed Description