I am using Hard disk ID for my software to check if the authentic user is using the software. For IDE type hard disk i get the id using the procedure GetIdeSerialNumber.
但是,如果是SATA驱动器,它就把id作为空白。
之后,如果是SATA驱动器,则将批量用作独一无二的补贴。
但当系统格式化时,数量补贴将发生变化。
Now I want to know which hard drive i am using ,and how to get the hard disk id of SATA drive in delphi 7 ?
EDIT:根据客户规格需要将软件锁定在硬件上,有关ID s是
- MAC address
- HD id (SATA or IDE)
- Controller ID (this is motor to drive the hardware of which the software is delvped, the ID is unique)
The client has accpted the if system is changed the the authentication layer will fail, but we have been given the go ahead for the software locking to hardware..
so i wanted to know how to get the SATA ID