> From: Gert Driesen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 28, 2003 10:00 AM
> Any reason why you used WMI and not the ServiceController class ?
Yeah, I was building a number of WMI based tasks and the simplest thing for me to do was use WMI. In addition to the service controller, I built a service change task, a product install task, a product uninstall task, a share create task and a process start task. There are a million more that could be added using WMI. WMI is the quickest way to add system manipulation functionality to Nant.
> I think I would perfer using the ServiceController class, as that class
> will
> more likely have an implementation in Mono (haven't checked if its already
> there).
I don't care much about Mono. Services, MSI installations and shares are WIN32 specific anyway. If Mono wants to play on WIN32, System.Management should be implemented.
-Brian
