How can I get a list of drives available on a server by passing in the
server UNC (\\ServerName) and then for each of those drives get the
available disk space? (or at least for one known server and drive be able to get the free space on that drive - \\ServerName\E$).
What I want to do is very similar to this question but it will be done from a Windows Forms application instead of an ASP page: http://www.experts-exchange.com/questions/Q_20175600.html
I have looked at the System.Management and System.IO classes in help,
searched newsgroup postings (dotnet247.com, etc) and on google and I have
had no luck finding any examples. There are plenty of examples for getting
the free disk space and enumerating drives for the local machine using FSO and System.Management classes and WQL, but not
for network servers.