Programming Tips - How can I programatically start/stop the SNMP service?

Date: 2008aug18 Platform: win32 Q. How can I programatically start/stop the SNMP service? A. In C do this:
system("net start snmp"); // Start it
system("net stop snmp"); // Stop it