Home All Groups Group Topic Archive Search About

How to read S.M.A.R.T. attributes in vb ?

Author
27 Mar 2006 1:16 PM
@rpus - Development
Ive been browsing the WINAPI descriptions, but can't seem to find where the
S.M.A.R.T attributes can be read.
I'm trying to read the current Temperature from a S.M.A.R.T. enabled HDD,
and i would like to do this in VB.NET.

Author
27 Mar 2006 3:07 PM
Carlos J. Quintero [VB MVP]
I thought it should be possible using WMI but it seems that not:

DOC: WMI: Win32_TemperatureProbe.CurrentReading Is Not Populated
http://support.microsoft.com/kb/306852/en-us


--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com


Show quoteHide quote
"@rpus - Development" <rpusDevelopm***@discussions.microsoft.com> escribió
en el mensaje news:FC212457-E01C-4555-AED7-1A7D6B6C94B1@microsoft.com...
> Ive been browsing the WINAPI descriptions, but can't seem to find where
> the
> S.M.A.R.T attributes can be read.
> I'm trying to read the current Temperature from a S.M.A.R.T. enabled HDD,
> and i would like to do this in VB.NET.
>
Author
27 Mar 2006 3:22 PM
@rpus - Development
Ya,- i know, I tryed that one :( , - but still, it must be possible ?

Show quoteHide quote
"Carlos J. Quintero [VB MVP]" wrote:

> I thought it should be possible using WMI but it seems that not:
>
> DOC: WMI: Win32_TemperatureProbe.CurrentReading Is Not Populated
> http://support.microsoft.com/kb/306852/en-us
>
>
> --
>
> Best regards,
>
> Carlos J. Quintero
>
> MZ-Tools: Productivity add-ins for Visual Studio
> You can code, design and document much faster:
> http://www.mztools.com
>
>
> "@rpus - Development" <rpusDevelopm***@discussions.microsoft.com> escribió
> en el mensaje news:FC212457-E01C-4555-AED7-1A7D6B6C94B1@microsoft.com...
> > Ive been browsing the WINAPI descriptions, but can't seem to find where
> > the
> > S.M.A.R.T attributes can be read.
> > I'm trying to read the current Temperature from a S.M.A.R.T. enabled HDD,
> > and i would like to do this in VB.NET.
> >
>
>
>
Author
27 Mar 2006 11:06 PM
Alex Clark
Hi,
There was an article about it in VSJ last year I think.  I'm pretty sure
that article will be on the web somewhere, though your guess is as good as
mine.  What I do recall was that the author implied it was a very imprecise
science and that he only got meaningful information through a process of
trial and error.  It's not the smartest thing in the world to use, pardon
the pun ;-)

Cheers,
Alex Clark


Show quoteHide quote
"@rpus - Development" <rpusDevelopm***@discussions.microsoft.com> wrote in
message news:DE5CBE89-B8CD-4D44-8FBE-9E2153823F82@microsoft.com...
> Ya,- i know, I tryed that one :( , - but still, it must be possible ?
>
> "Carlos J. Quintero [VB MVP]" wrote:
>
>> I thought it should be possible using WMI but it seems that not:
>>
>> DOC: WMI: Win32_TemperatureProbe.CurrentReading Is Not Populated
>> http://support.microsoft.com/kb/306852/en-us
>>
>>
>> --
>>
>> Best regards,
>>
>> Carlos J. Quintero
>>
>> MZ-Tools: Productivity add-ins for Visual Studio
>> You can code, design and document much faster:
>> http://www.mztools.com
>>
>>
>> "@rpus - Development" <rpusDevelopm***@discussions.microsoft.com>
>> escribió
>> en el mensaje news:FC212457-E01C-4555-AED7-1A7D6B6C94B1@microsoft.com...
>> > Ive been browsing the WINAPI descriptions, but can't seem to find where
>> > the
>> > S.M.A.R.T attributes can be read.
>> > I'm trying to read the current Temperature from a S.M.A.R.T. enabled
>> > HDD,
>> > and i would like to do this in VB.NET.
>> >
>>
>>
>>
Author
28 Mar 2006 5:58 AM
@rpus - Development
Ive found an "Old Visual Basic" example on the web, - its seem to base itself
on reading a portion of memory, and then parse it out, However I have not
been successfull in getting the code to run under vb2005.

So I guess i'll keep up the hunt ..........

Show quoteHide quote
"Alex Clark" wrote:

> Hi,
> There was an article about it in VSJ last year I think.  I'm pretty sure
> that article will be on the web somewhere, though your guess is as good as
> mine.  What I do recall was that the author implied it was a very imprecise
> science and that he only got meaningful information through a process of
> trial and error.  It's not the smartest thing in the world to use, pardon
> the pun ;-)
>
> Cheers,
> Alex Clark
>
>
> "@rpus - Development" <rpusDevelopm***@discussions.microsoft.com> wrote in
> message news:DE5CBE89-B8CD-4D44-8FBE-9E2153823F82@microsoft.com...
> > Ya,- i know, I tryed that one :( , - but still, it must be possible ?
> >
> > "Carlos J. Quintero [VB MVP]" wrote:
> >
> >> I thought it should be possible using WMI but it seems that not:
> >>
> >> DOC: WMI: Win32_TemperatureProbe.CurrentReading Is Not Populated
> >> http://support.microsoft.com/kb/306852/en-us
> >>
> >>
> >> --
> >>
> >> Best regards,
> >>
> >> Carlos J. Quintero
> >>
> >> MZ-Tools: Productivity add-ins for Visual Studio
> >> You can code, design and document much faster:
> >> http://www.mztools.com
> >>
> >>
> >> "@rpus - Development" <rpusDevelopm***@discussions.microsoft.com>
> >> escribió
> >> en el mensaje news:FC212457-E01C-4555-AED7-1A7D6B6C94B1@microsoft.com...
> >> > Ive been browsing the WINAPI descriptions, but can't seem to find where
> >> > the
> >> > S.M.A.R.T attributes can be read.
> >> > I'm trying to read the current Temperature from a S.M.A.R.T. enabled
> >> > HDD,
> >> > and i would like to do this in VB.NET.
> >> >
> >>
> >>
> >>
>
>
>
Author
1 Jun 2006 9:10 AM
gabe
if you are able to post or link to the old code, maybe we can get it to work?