By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,234 Members | 1,877 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,234 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.

Mar 27 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
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" <rp*************@discussions.microsoft.com> escribió
en el mensaje news:FC**********************************@microsof t.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.

Mar 27 '06 #2

P: n/a
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" <rp*************@discussions.microsoft.com> escribió
en el mensaje news:FC**********************************@microsof t.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.


Mar 27 '06 #3

P: n/a
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" <rp*************@discussions.microsoft.com> wrote in
message news:DE**********************************@microsof t.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" <rp*************@discussions.microsoft.com>
escribió
en el mensaje news:FC**********************************@microsof t.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.
>


Mar 27 '06 #4

P: n/a
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 ..........

"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" <rp*************@discussions.microsoft.com> wrote in
message news:DE**********************************@microsof t.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" <rp*************@discussions.microsoft.com>
escribió
en el mensaje news:FC**********************************@microsof t.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.
>


Mar 28 '06 #5

P: n/a
if you are able to post or link to the old code, maybe we can get it to work?

Jun 1 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.