Hard Drive Low in "Space" event !

  • Thread starter Thread starter Eddie
  • Start date Start date
E

Eddie

Hi All,

I would like to write a windows service that will "Check" any problems on my
computer. For exemple, I would like to pop up a windows if my Hard drive is
low in "space" (maybe 5 % free space). How may I do it ? Does VS.NET provide
a tools for that...
I also would like, for exemple, know if my CPU temperature is too high, or
if my Laptop battery is too "low"...

Any help ?

Regards,

Eddie
 
* "Eddie said:
I would like to write a windows service that will "Check" any problems on my
computer. For exemple, I would like to pop up a windows if my Hard drive is
low in "space" (maybe 5 % free space). How may I do it ? Does VS.NET provide
a tools for that...

I doubt that.
I also would like, for exemple, know if my CPU temperature is too high, or
if my Laptop battery is too "low"...

WMI + 'Win32_TemperatureProbe'.

<URL:http://www.google.de/groups?selm=uk#[email protected]>

For the battery, cou can translate this VB6 sample to VB.NET:

<URL:http://www.shadoware.de/files/vb/powerstatus.zip>
 
Thank you... where can I find a complete list of "ManagementClass" like
'Win32_TemperatureProbe' or Win32_LogicalDisk ?
 
Back
Top