>I have a DriveInformation class in my framework which returns a bunch of information across the network for specific drives and contains a lot of methods. However, none of those available methods presently supports a non Windows drive. In a new environment, we have a domain NAS drives and I cannot find a way to collect the data from it.
>
>This page details how to get the same from something that the .NET Framework classes would recognize as a Windows drive:
>
>
http://msdn.microsoft.com/en-us/library/system.management.managementscope.aspx>
>But, this doesn't work in the environment I am trying to collect the available space from it.
>
>Anyone would have any idea on what other approaches can apply here?
Most NASs are based on Linux and don't support WMI. If the link you show above requires connecting to a "WMI server" on the NAS that's not going to work.
NASs typically use Samba to provide SMB/CIFS - compatible file services. So, you'll only be able to use Windows services that are emulated by Samba. My guess is you're going to have to approach it through the properties of network connections/shares rather than properties of the NAS host itself.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up