Pool Member control c#

Hello.

I’ve seen a ton of powershell and perl scripts, but looking for some examples using c to handle pool/node member enabling, disabling, forcing and as well checking of connections for a given pool member.

Very similair to the PS pool member control script here:

Would anyone have an example of doing this and any best practices they’ve seen while doing it in this manner?

Thanks!

Kevin.