使用activelock的HDD固件序列号检测工具 [英] HDD Firmware Serial Number Detection Tool using activelock

查看:80
本文介绍了使用activelock的HDD固件序列号检测工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

任何具有参考/链接资料的人都可以使用activelock获得HDD固件序列号检测工具.我需要它来检测硬件序列号.它来自实际的硬盘,而不是来自注册表.


任何形式的链接,建议和特别的专家建议都将受到高度赞赏.


谢谢与问候,
Balkrishna Raut

Dear all,

anyone having reference/links material to get the HDD Firmware Serial Number Detection Tool using activelock. i need it to detect the hardware serial number. its from the actual HDD not fro the registry.


Any kind of link, suggestion and specially expert advice would be highly appreciated.


Thanks & Regards,
Balkrishna Raut

推荐答案

-更新-
关于使用S.M.A.R.T.接口?
有关硬盘驱动器的C#和SMART信息 [ ^ ]

DeviceIoControl:获取SMART驱动器序列号 [如何获取REAL硬盘驱动器序列号 [获取没有WMI的物理硬盘序列号 [ Win32_PhysicalMedia类 [ WMI查询 [
-- Update --
What about using S.M.A.R.T. interface ?
C# and S.M.A.R.T Information about Hard Disk Drive[^]

DeviceIoControl: Get a SMART Drive Serial Number[^]


A CP article on how to get serial number in C#
How to Retrieve the REAL Hard Drive Serial Number[^]

Another CP article.
Get Physical HDD Serial Number without WMI[^]

WMI object on Win32_PhysicalMedia Class[^]


---
Perhaps a query to Windows Management Instrumentation (WMI) can help you?

WMI Queries[^]


[DllImport("DiskID32.dll")]
      public static extern long DiskID32(ref byte DiskModel, ref byte DiskID);





private string GetHardDiskID()
        {
            byte[] DiskModel = new byte[31];
            byte[] DiskID = new byte[31];
            int i;
            string Model = "";
            string HDDID = "";
            if (DiskID32(ref DiskModel[0], ref DiskID[0]) != 1)
            {
                for (i = 0; i < 31; i++)
                {
                    if (Convert.ToChar(DiskID[i]) != Convert.ToChar(0))
                    {
                        HDDID = HDDID + Convert.ToChar(DiskID[i]);
                    }
                }
                HDDID = HDDID.Trim();
            }
            else
            {
                HDDID = "";
            }
            return HDDID;
        }


这篇关于使用activelock的HDD固件序列号检测工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆