free and used space in a shared computer

  • Thread starter Thread starter JH
  • Start date Start date
J

JH

How do you get the total free and used space in a computer which I have a
share to specific folders ONLY? (Without using WMI)

Example. computer2 is another computer and I have access to say
computer2\shared folder. But I want to know the total free and used space in
that computer.

Any help is greatly appreciated

JOhn
 
Why not use WMI?
If you don't want to, you will have to implement something similar,
a) A service running on the remote server that inspects the used and
available space on disk.
b) A client that calls the remote service using some kind of protocol
(sockets, DCOM, Remoting, named pipes ....).
And don't forget to consider security if you care about it.

Willy.
 
Back
Top