Deny Method (String)

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Denies this connection; disconnecting it

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

Syntax

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

Parameters

reason
Type: System..::..String
The stated reason for the disconnect, readable as a string in the StatusChanged message on the remote host

See Also