EnableUPnP Property

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Enables UPnP support; enabling port forwarding and getting external ip

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public bool EnableUPnP { get; set; }
Visual Basic
Public Property EnableUPnP As Boolean
	Get
	Set
Visual C++
public:
property bool EnableUPnP {
	bool get ();
	void set (bool value);
}

See Also