Questions tagged [disk-smart]

8 questions
5
votes
1 answer

S.M.A.R.T. Hard Drive Data in C#

Just trying to pull off some SMART info from connected Hard Drives on any computer my application will run on. I'm using WMI for a lot of other stuff in the program, and every question about SMART I've looked at makes reference to Win32_DiskDrive.…
Chris Watts
  • 6,197
  • 7
  • 49
  • 98
5
votes
1 answer

How can I use C# To read extended smart data?

I know a bit of C++ and Java, but am wanting to learn c# on my own. To mess with, I'm trying to read the SMART data of my hard drive. I have this C# Code, but I do not know how to modify it to read an additional memory value: It apparently reads the…
user1120389
  • 81
  • 1
  • 1
  • 4
3
votes
1 answer

Load/Unload Cycle Count using S.M.A.R.T and WMI

In an attempt to develop a hard disk analytic tool, I'm trying to get the value of Load/Unload cycle count from my hard disk's S.M.A.R.T data, I'm wondering if anyone knows how to do this. What I'm trying: I'm searching the WMI…
Lyuben Todorov
  • 13,987
  • 5
  • 50
  • 69
3
votes
1 answer

Is there a S.M.A.R.T. Library for .NET or Java?

I asked a somewhat related question but I want it to make it more concrete and 'programming' oriented, so here it goes: Does any body know, if there is a .NET, JAVA or any other Framework, library, .jar file or what ever: to access S.M.A.R.T.…
ramayac
  • 5,173
  • 10
  • 50
  • 58
2
votes
2 answers

Windows C/C++ Drive Init/Partition/Format

I am trying to build an application for Windows XP 64bit which is able to detect drives of a particular model in the system, and if they are not initialized & formatted perform these processes. I would also like to be able to query and set the…
Zac Shenker
  • 129
  • 3
  • 10
0
votes
1 answer

Want to use WMI to monitor SMART via vb.net

The code below: For Each queryObj As ManagementObject In searcher.Get() objWriter = New StreamWriter("C:\vsl\scripts\results.txt", False) objWriter.Write("Active: {0} ", queryObj("Active")) objWriter.Write(" InstanceName: {0} ",…
0
votes
1 answer

S.M.A.R.T HDD and WMI

I try to get the SMART data from my HDD using WMI (this is the only way I found). Using the namespace root\WMI with class MSStorageDriver_ATAPISmartData I can get the VendorSpecific. I just wonder how can I choose for which HDD I want to check…
spychu
  • 113
  • 1
  • 1
  • 5
0
votes
1 answer

Is it possible to monitor SMART disk information from a VM?

I am working on a server ubuntu 14.04.1 LTS In fact i don't have an access to the server itself, but at a VM. I am trying to monitor SMART disk information (like Temperature_Celsius and othet stuff like that) but only from the VM. I think it is…