|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to read S.M.A.R.T. attributes in vb ?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. 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 -- Show quoteHide quoteBest 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. > 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. > > > > > 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. >> > >> >> >> 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. > >> > > >> > >> > >> > > > if you are able to post or link to the old code, maybe we can get it to work?
Deployment without Framework?
Re: Newbie needs help temporarily pausing loop Help with testing DBNull from a field. What to declare a DBNull variable to? Domains Can you have more than one column in Combo Box Problem deleting rows from dataset (VS2003, VB) Dot Net Deployment Issue in Win98 help please or any coment please only letters or numbers |
|||||||||||||||||||||||