checking hardisk space...

  • Thread starter Thread starter Ginny
  • Start date Start date
G

Ginny

Hi,
I want to check the hard disk space on c drive and raise an alra or email
notification if the free space goes below a permissible level. How can I do
this? Can I use performance counter or WMI or Win 32 api?? PLease assist.
Shall I implement this is as a windows service or in my windows application
?? please assist.
 
Hi,
I want to check the hard disk space on c drive and raise an alra or email
notification if the free space goes below a permissible level. How can I do
this? Can I use performance counter or WMI or Win 32 api?? PLease assist.
Shall I implement this is as a windows service or in my windows application
?? please assist.

Find freespace using WMI:

http://tinyurl.com/jkxz6

If you want this app to be running all the time, you'll want a windows
service. If it's just something you want to run when someone logs in, a
windows app would be a bit easier to deal with.
 

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