I have an idea, but you probably won't like the answer :)
We tried to do this and failed, so we did something evil :)
What we did was write agi scripts, and they call them using the dispatcher interface, and then clear the command line.
Things like the kernel show compressed channels, etc., its ikky, but it works. We used regex to parse the output of the line, and then grabbed the information from there, the only problem with this activity is that you have to watch every time you fix it, since the output from the command line tends to change the patch to fix it.
If you find a way to do this using C # api but not using agi, I would be very interested, but we just could not do what we wanted with api without resorting to agi scripts at the end.
source share