![]() ![]() I've put together a class library which simplifies querying all the smart data you require. Public Dictionary Attributes = new Dictionary() \t " " " (() ? "OK" : ""),, ,, ) Ĭonsole.WriteLine("An error occurred while querying for WMI data: " e.Message) CrystalDiskInfo 6.0 reports the following, with the disk in 'caution': Reallocated Sectors Count 120 (288) Current Pending Sector Count 1A80 (6784) Uncorrectable Sector Count 1A80 (6784) SeaTools says it passed SMART tests, but failed the fast/long fixes. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES LOSS OF USE, DATA, OR PROFITS OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ![]() THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. If everything is working properly, you should see the status. A the prompt, type (or copy and paste) the following command, and then press Enter: wmic diskdrive get status. To open the Command Prompt, hit Start, type Command Prompt, and then press Enter. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: You can also view a very basic S.M.A.R.T. ![]() After some work, I've put together code returning a comprehensive report of all relevant SMART information for a HDD using C#/WMI. ![]()
0 Comments
Leave a Reply. |