After publishing the How To Get Free Disk Space And Other WMI Stuff (.NET) article, I learned two new things. One is about a better way to get free disk space and the other is about a better and easier way to use WMI in general. This is what is good about blogging, you share your knowledge and then learn from others.
Karl Agius left the following comment:
“I agree that WMI is extremely powerful, and that it lets you get to details that are not otherwise available in managed code. In this case though, the free drive space can be derived through the AvailableFreeSpace method in DriveInfo. What are the arguments for using WMI instead of this?
Great article, by the way
That WMI object browser looks handy … sure beats trawling through MSDN looking for stuff
Thanks!”
We pay for user submitted tutorials and articles that we publish. Anyone can send in a contribution
Learn More