A little tool to get Unique hard disk serial number using DLL.
(Buy the DLL (http://www.devlib.net/buy-getdiskserial.htm))
Nothing happening here, win7 x64
Try to load it with administrator rights.
works on XP SP3 :U
Tried admin, tried drive 1, nothing.
On X86 WIn7 works fine
WD-WXEZ0*2*5*8*
I have my Result censored
Quote from: sinsi on May 04, 2011, 11:59:01 AM
Tried admin, tried drive 1, nothing.
Probably the DLL fault on x64.
The application works fine on my XP Pro SP3.
Works fine on my Intel Dual-Core with XP SP3, no problems :)
Got my HD serial easily: S20BJ90SC2***9
Thanks for report, guys :)
Why if this dll not open source?
Quote from: ragdog on May 04, 2011, 08:05:54 PM
Why if this dll not open source?
Why what? the dll is not written by me.
N1ghtm4r3 ,
have you the permission of the vendor (http://www.devlib.net/index.htm) for sharing the DLL? - it is commerial!
Quote from: qWord on May 04, 2011, 09:05:26 PM
N1ghtm4r3 ,
have you the permission if the vendor (http://www.devlib.net/index.htm) for sharing the DLL? - it is commerial!
The DLL replaced with Demo one from website and first post updated.
Sorry didn't notice that before :)
Ahh ok
Here is a Info to get the serial via WMi
http://netcode.ru/dotnet/?lang=&katID=30&skatID=264&artID=7284
I think it gives other ways to get the serial without WMi
with DeviceIoControl
http://www.masm32.com/board/index.php?topic=12398.msg95136#msg95136
I have for a longe time coded with DeviceIoControl I must look if I still have already this Project
Hi
I am trying to use DeviceIoControl
but i havent STORAGE_PROPERTY_QUERY and IOCTL_STORAGE_QUERY_PROPERTY
where can i find it ?
Thanks
http://www.masm32.com/board/index.php?PHPSESSID=fa6317223d0698039ffd8f6ff3db32e9&topic=11486.0
Thank you ragdog :wink
When
szDriveName db "C:\", 0
invoke CreateFile, Addr szDriveName, NULL, NULL, NULL, OPEN_EXISTING, NULL, NULL
returns eax=INVALID_HANDLE_VALUE
It doesnt work ! Why ?
QuoteTo retrieve a handle to the device, you must call the CreateFile function with either the name of a device or the name of the driver associated with a device. To specify a device name, use the following format:
\\.\DeviceName
DeviceIoControl can accept a handle to a specific device. For example, to open a handle to the logical drive A: with CreateFile, specify \\.\a:. Alternatively, you can use the names \\.\PhysicalDrive0, \\.\PhysicalDrive1, and so on, to open handles to the physical drives on a system.
http://msdn.microsoft.com/en-us/library/aa363216%28v=vs.85%29.aspx
Ok, Thank you ragdog ! :wink
i will go to test it
New version of this DLL is out, win 7 issue might be fixed in this version.
http://www.devlib.net/download-getdiskserial.htm
$31.96 for a dll that give me information about my drives ::)
I think that is not really difficult to coding it gives many examples about it
SeaFarer have a good example
http://www.winasm.net/forum/index.php?showtopic=2224