Get free disk space with a shared folder

  • Thread starter Thread starter Sebastien Curutchet
  • Start date Start date
S

Sebastien Curutchet

Hi,

I have a sharing on the network : \\MyMachine\MyShare. I would like to get
the free space of this sharing.
On the local machine, i use WMI but on a distant machine if i use WMI i must
know the logical disk on which is my sharing, but i don't have this
information.
So how can i get the free space ?

Thanks in advance.

Sebastien Curutchet.
 
You can't get at this info without knowing the servers drive id.
Why do you need to know the free disk space at the client?
What exactly do you think you can do with this info?

Willy.
 
I'm developping a monitoring application. The free space is one of my check
point.
 
This functions is avalaible with the framework, and if i find a solution
without using Windows API, i prefer the .NET solution.
 
I use the API solution because I have not found "managed" solution.

Thanks.


Sebastien Curutcthet
 
Back
Top