Decrypt Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Decrypt an incoming message encrypted with corresponding Encrypt

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

Syntax

C#
public bool Decrypt(
	NetIncomingMessage msg
)
Visual Basic
Public Function Decrypt ( _
	msg As NetIncomingMessage _
) As Boolean
Visual C++
public:
virtual bool Decrypt(
	NetIncomingMessage^ msg
) sealed

Parameters

msg
Type: Lidgren.Network..::..NetIncomingMessage
message to decrypt

Return Value

true if successful; false if failed

Implements

INetEncryption..::..Decrypt(NetIncomingMessage)

See Also