Disconnect Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Disconnect from the remote peer

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

Syntax

C#
public void Disconnect(
	string byeMessage
)
Visual Basic
Public Sub Disconnect ( _
	byeMessage As String _
)
Visual C++
public:
void Disconnect(
	String^ byeMessage
)

Parameters

byeMessage
Type: System..::..String
the message to send with the disconnect message

See Also