How to find a network shared folder capacity?

  • Thread starter Thread starter AlirezaH
  • Start date Start date
A

AlirezaH

How can I find the capacity of a remote computer hard disk when I have
access to one of it's shared folders.
I am using File.Move(source,destin); to copy some files.
 
AlirezaH,

You can call the GetDiskFreeSpaceEx function through the P/Invoke layer
in order to determine how much free space is available on a network share.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top