You can use either JMX or the "destroy" request (but JMX is only available in Vivace edition).
You can follow this thread and post #13 in particular.
This is the direct link to the post.
The examples shown are based on java Adapters. No port to C# is available, but we expect it to be straightforward.