Wednesday, September 15, 2010 4:52 PM
Thanks again to everyone at the Milwaukee WI-INETA group for a great time last night. I once again gave my talk on WMI, and it seemed very well received, with lots of very interesting questions. I have updated the demo source code, and I also received an email from someone saying they were having issues getting the slides to download, so slides are included in that zip file as well.
Also, a former coworker of mine, Jim, asked a question last night about whether it was possible to declare the security rights for a WMI Namespace easily through code, and I said not really, without some scripting. As it turns out, this is not true at all. There is an extra property on the assembly level attribute, WmiConfigurationAttribute (where you set the namespace and hosting model) that allows you to specify a security parameter. The property, called NamespaceSecurity, does not take an easily identifyable string like a group name. Instead, it uses a Security Descriptor String Format to describe the security. However, it will allow you to set the rights without having to script it after install.
Update: Apparently something with my hosting service's setup doesn't like files that have four letter extensions (like pptx), so instead of monkeying around with a second download for the slides, I simply included the slides in the source code download.