Click or drag to resize
CustomPacketDecryptHandler Delegate
Decrypts incoming data

Namespace:  TeamSpeak.Sdk.Client
Assembly:  TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntax
public delegate void CustomPacketDecryptHandler(
	ref IntPtr dataReceived,
	ref uint dataReceivedSize
)

Parameters

dataReceived
Type: SystemIntPtr
An array with the received data to be decrypted. Apply your custom decryption to the data array.If the decrypted data is smaller than dataReceivedSize, write your decrypted data into the existing memory of dataReceived. If your decrypted data is larger, you need to allocate memory and change dataReceived. You need to take care of freeing your own allocated memory yourself. The memory allocated by the SDK, to which dataReceived is originally pointing to, must not be freed.
dataReceivedSize
Type: SystemUInt32
The size of the data array.
See Also