Generating Managed WMI Classes

  If you are also writing code using WMI on C#, probably you’ve also use the following classes; ManagementScope, ManagementObjectSearcher, ManagementObjectCollection and also ManagementObject; But they’re not such easy classes to deal with, espacially if you’re using WMI methods. Take a look at this code:    Here is the good news; “Management Strongly Typed Class…

Reflection and Dynamic Assemblies

Within one of my applications, I need to analyze loaded assemblies for a specific attribute. To do so I’ve write the following code : But I got System.NotSupportedException exception when I’ve execute that code. After a little serach through internet, I found the problem. It’s related with the dynamic assemblies that crated and loaded by…