When I open the network connection properties in the windows, I see this dialog box: Connection_Properties http://www.freeimagehosting.net/uploads/ca7a4d82ea.png
In this dialog box in the check-listbox, I can enable or disable options such as File or Printer Sharing, Client for Microsoft Networks, or network filter drivers.
My question is: how to enable or disable these options programmatically? I did not find anything like this in the WMI documentation, and I could not find another Win32 API for this. I would prefer the C interface Win32 API or WMI, but a solution using any programming language is welcome. The question is a linguistic agnostic.
source share