Skip to content

Calculate disk space

j c

Asked Jun 13, 2012, 2:17 PM EDT2 answers
Share
LinkedInX
How can I get the disk space/free space in a server using C#.

I would like to write a script to get a disk space/free space in C:\ABC folder in Server name called TEST123.


How can I do this?

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    thanks..but is there anyway i can connect to any remote server(i.e. ServerABC) that I want and know how much space left in that disk?
    0