I've built the C# SDK client and a server.

All works, Great!

I've started to edit my client to my liking but one thing that I'm stuck on is implementing a PTT.

I know I have to use
ts3client_setClientSelfVariableAsInt(scHandlerID, CLIENT_INPUT_DEACTIVATED, INPUT_DEACTIVATED);

But how???

All I seem to get is "ts3client_setClientSelfVariableAsInt is not available in the current context."

My client is a C# Winforms app and I'm looking to enable a PTT with a winforms button click.


private void button1_Click(object sender, EventArgs e)
//send voice on button down.

Any pointers in the right direction are grateful.