Featured Posts

HDDPhysic v1.1.0 is released! Today we've released a new updated version of HDDPhysic (v1.1.0) Here is what’s new in this version: improved hardware serial extraction in Vista and Windows 7. you don't need to have...

Readmore

Promote software on your website and get paid for it!... Join our affiliates network and get 25% commission on every sale you refer! Become a rlByte Software affiliate today!   To start selling, all you need to do is display product information...

Readmore

Special discount offer: -20% on purchase   Starting from today (27 April 2010 ) we offer a 20% discount for two of our products if they are purchased together: HDDPhysic : get the physical vendor information from the computer hard...

Readmore

Special discount offer: -20% on purchase   Starting from today (27 April 2010 ) we offer a 20% discount for two of our products if they are purchased together: HDDPhysic : get the physical vendor information from the computer hard...

Readmore

Subs Grabber v1.1.0.62 is released!  Today we've released a new updated version of Subs Grabber v1.1.0.62. Here is what's new in this version: Fixed: some utf8 characters doesn't display right in the movie list Modified: working...

Readmore

  • Prev
  • Next

HDDPhysic v1.1.0 is released!

Posted on : 10-05-2010 | By : rlByte Team | In : HDDPhysic, rlByte News

3

Today we’ve released a new updated version of HDDPhysic (v1.1.0)

Here is what’s new in this version:

  • improved hardware serial extraction in Vista and Windows 7.
  • you don’t need to have your application elevated anymore in Windows Vista or 7 when admin rights required. Now it works even with a guest account type.
  • fixed a crash with Windows 2000 when using a guest account type
  • fixed a crash while debugging your application linked to HDDPhysic inside Microsoft Visual Studio environment
  • minor speed upgrade when extracting hdd manufacturer info

Get the new version from here.

HDDPhysic Vs notebook hdd – Quick hard disk serial number test

Posted on : 30-04-2010 | By : rlByte Team | In : HDDPhysic

0

  Today we’ve upgraded one of our notebooks internal hard disk drive and this was a chance to make an additional quick compare between the hdd labels present on the manufacturer hardware device and the information extracted with a HDDPhysic test project (The new hdd is a Western Digital Scorpio Black, 320GB, SATA, 16MB)

 Here are the results:
HDD serial number reported by hddphysic
The actual hardware labels

Test was done under a Windows 7 x86 version.

Special discount offer: -20% on purchase

Posted on : 27-04-2010 | By : rlByte Team | In : Discounts & Special Offers, HDDPhysic, USBPhysic, rlByte News

0

special offer  Starting from today (27 April 2010 ) we offer a 20% discount for two of our products if they are purchased together:

    special offer: 20% off!

  • HDDPhysic : get the physical vendor information from the computer hard disk drive, HDD, such as the unique serial number or model number.
  • special offer: 20% off!USBPhysic : extract the physical vendor information, such as the unique serial number, from almost any USB storage device.

 In the shopping cart check the option bellow to “Add bellow product to cart and get a 20% instant discount for every product in cart!” and you will have a 20% discount on your ordered products.

Tip 1: This offer is time limited.
Tip 2: Here on our blog you will find time limited discounts and special offers related to our products. Stay tuned on this category of our blog (rss feed here ) to take advantage of each deal and make sure you are using it before the deadline.

HDDPhysic FoxPro example (source code sample)

Posted on : 01-03-2010 | By : rlByte Team | In : HDDPhysic

1

 In order to get the Hard Disk serial number and other manufacturer information (NOT volume serial, only the unique one, the one that will not change after a format, physical one) using HDDPhysic library and FoxPro you need to do the following 3 easy steps:

(1) Load HDDPhysic library and declare the imported library functions:
Object: Form1 ; Procedure: Load ;

DECLARE INTEGER Init IN "HDDPhysic.dll" AS HDD_Init STRING sRegUser, STRING sRegCode
DECLARE INTEGER GetPhysicInfo IN "HDDPhysic.dll" AS HDD_Info INTEGER diskIndex, INTEGER InfoType, STRING pHddInfo

(2) Call the Init function to initialize the user computer hard drives and get the total available devices:
Object: Form1 ; Procedure: Show ;

tDiscs = HDD_Init ('your-registration-info-here', 'your-registration-info-here') && Init and get number of hdd's available
sBuffer = Space(500) && Make some room in the buffer

IF tDiscs > 0 THEN
 FOR i=0 TO tDiscs-1 STEP 1
  This.Combo1.AddItem (ALLTRIM(STR(i)))
 NEXT

 This.Text7.Value=ALLTRIM(STR(HDD_Info(0, 6, sBuffer))) && Get hdd index where Windows Is Installed
ENDIF

(3) Now that you have the total hard drives count you can query for the manufacturer information passing the disk index to the GetPhysicInfo function:
Objec: Command1 ; Procedure: Show ;

sBuffer = SPACE(500) && make some room in the buffer
iDiskNo = Form1.Combo1.ListIndex-1


    iReturn = HDD_Info(iDiskNo, 0, @sBuffer)    && 0 = serial number
    Form1.Text2.Value=sBuffer
   
    iReturn = HDD_Info(iDiskNo, 1, @sBuffer)    && 1 = hdd model
    Form1.Text3.Value=sBuffer
   
    iReturn = HDD_Info(iDiskNo, 2, @sBuffer)    && 2 = hdd revision
    Form1.Text4.Value=sBuffer
   
    iReturn = HDD_Info(iDiskNo, 3, @sBuffer)    && 3 = hdd type
    Form1.Text1.Value=sBuffer        
       
    iReturn = HDD_Info(iDiskNo, 5, @sBuffer)    && 5 = hdd buffer size
    Form1.Text5.Value=sBuffer
   
    iReturn = HDD_Info(iDiskNo, 4, @sBuffer)    && 4 = hdd size
    Form1.Text6.Value=sBuffer

A complete Visual FoxPro 9.0 project is available for download in the resource area of the project here

Hdd Physic Delphi Example (with source)

Posted on : 18-11-2009 | By : rlByte Team | In : HDDPhysic

0

 In order to get the hard disk serial number and other manufacturer information (NOT volume serial, only the unique one, the one that will not change after a format, physical one) using our hddphysic product and delphi code you need to do the following 3 easy steps:

(1) Create a new unit called HDDPhysic where you declare the imported hddphysic library functions :

HddPhysic.pas :

unit HddPhysic;

interface

  function Init (sUser: PAnsiChar; sRegCode: PAnsiChar): Integer; stdcall; external 'HDDPhysic.dll';
  function GetPhysicInfo (idiskIndex: Integer; iInfoType: Integer;  pHddInfo_OUT: PAnsiChar): Integer; stdcall; external 'HDDPhysic.dll';

implementation

end.

(2) Include the HddPhysic.pas in your project and then Call the Init function to initialize the user computer hard drives and get the total available devices

procedure TForm1.FormCreate(Sender: TObject);
var
 iWinDrive, iDrivesCount, i: Integer;
begin
   i:=0;
   //init HddPhysic dll
   iDrivesCount:=Init('<your reg id>','<your reg code>'); //add your registration data to unlock it

  if iDrivesCount>0 then
   begin
      //add drives indexes to combo
     Repeat
        ComboBoxDrives.Items.Add(IntToStr(i));
        Inc(i);
     Until i = iDrivesCount ;
      //get windows hdd drive index
      iWinDrive     := GetPhysicInfo(0, 6, nil);
      WinDrive.Text := IntToStr(iWinDrive);
      ComboBoxDrives.ItemIndex := iWinDrive ; //select windows drive index
   end;
end;

(3) Now that you have the total hard drives count you can query for the manufacturer information passing the disk index to the GetPhysicInfo function:

procedure TForm1.Button1Click(Sender: TObject);
var
  iDiskNo,iReturn: Integer;
  cInfo: AnsiString;
begin
  SetLength( cInfo, 512 ); //allocate some space in the buffer
  ClearEdit;
 
  iDiskNo:=ComboBoxDrives.ItemIndex; //get selected drive index
 
  iReturn    := GetPhysicInfo(iDiskNo,0,PAnsiChar(cInfo)); //0 = hdd serial number
  Edit1.Text := cInfo;                

  iReturn    := GetPhysicInfo(iDiskNo, 1, PAnsiChar(cInfo));    //1 = hdd model
  Edit2.Text := cInfo;
   
  iReturn    := GetPhysicInfo(iDiskNo, 2, PAnsiChar(cInfo));    //2 = hdd revision
  Edit3.Text := cInfo;

  iReturn    := GetPhysicInfo(iDiskNo, 3, PAnsiChar(cInfo));    //3 = hdd type
  Edit6.Text := cInfo;
       
  iReturn    := GetPhysicInfo(iDiskNo, 4, PAnsiChar(cInfo));    //4 = hdd size
  Edit5.Text := cInfo;
   
  iReturn    := GetPhysicInfo(iDiskNo, 5, PAnsiChar(cInfo));    //5 = hdd buffer size
  Edit4.Text := cInfo;

end;

Notes: No errors checks are done in this example, you should do some error checks. For example the Init function returns zero if no hdd are found, and GetPhysicInfo returns a lower than zero value if it fails for some reason.

  A complete project with source code example for using HDDPhysic component to get hard disk physical information with Delphi (CodeGear Delphi 2009) is available in the resources area of the product (here).

HDDPhysic x64 systems notes

Posted on : 16-11-2009 | By : rlByte Team | In : HDDPhysic

0

 HDDPhysic supports both 32bit and 64bit systems running under WOW64 as 32bit applications, and, with a new DLL build (HDDPhysic64.dll) , for pure x64 applications.

 If an 32bit application has been written to make use of HDDPhysic.dll then all you need to do is place latest version of HDDPhysic in the same folder as the applications EXEcutable file. Most applications use the 32bit version of the DLL. This version is capable of running on x64 based operating systems as long as it is used from a 32bit application.

 If an 64bit application has been written to make use of HDDPhysic library then all you need to do, is to use the HDDPhysic64.dll build. Everything else is the same.

 Please do note that the 64bit version is available only to registered customers for now. If you did not received the 64bit version kindly please contact us via e-mail.

HDDPhysic Visual Basic .NET example (VS 2005)

Posted on : 13-11-2009 | By : rlByte Team | In : HDDPhysic

0

Source code example for using HDDPhysic component to get hard disk physical info (like the unique hdd serial number) with VB.NET 2005 is now available in the resources area of the product (here).

  Here are some few steps on how you should use it in VB.NET:

(1) Declare imported library functions:
HDiskInfo.vb :

Option Strict Off
Option Explicit On
Imports System.Runtime.InteropServices


Module HDiskInfo
    Public Declare Function Init Lib "HDDPhysic.dll" (ByVal sUser As String, ByVal sRegCode As String) As Integer
    Public Declare Function GetPhysicInfo Lib "HDDPhysic.dll" (ByVal diskIndex As Short, ByVal InfoType As Integer, ByVal pHddInfo As String) As Integer
End Module

(2) Call the Init function to initialize the user computer hard drives and get the total available devices:
Form1.vb :

    Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
        Dim tDiscs As Integer
        Dim intX As Short
        Dim WinHdd As Short

        tDiscs = Init("your reg code here", "your reg code here")

        If tDiscs > 0 Then
            For intX = 0 To tDiscs - 1
                Me.Combo1.Items.Add(intX) 'populate combo with hdd indexes
            Next
            WinHdd = GetPhysicInfo(0, 6, "") 'get windows hdd index
            If WinHdd >= 0 Then
                edtDrive.Text = WinHdd   'windows is installed on this drive index            
                Combo1.SelectedIndex = WinHdd
            End If
        End If

    End Sub

(3) Now that you have the total hard drives count you can query for the manufacturer information passing the disk index to the GetPhysicInfo function:

   Private Sub Command1_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command1.Click

        Dim iDiskNo As Integer
        Dim sBuffer As String
        Dim iReturn As Integer

        sBuffer = Space(1024) ' make room in the buffer        
        iDiskNo = Combo1.SelectedIndex 'get selected disk number
        ClearEdit() 'clear previous values

        iReturn = GetPhysicInfo(iDiskNo, 0, sBuffer) '0 = serial number        
        Text1.Text = Strings.Left(sBuffer, iReturn)

        iReturn = GetPhysicInfo(iDiskNo, 1, sBuffer) '1 = hdd model
        Text2.Text = Strings.Left(sBuffer, iReturn)

        iReturn = GetPhysicInfo(iDiskNo, 2, sBuffer) '2 = hdd revision        
        Text3.Text = Strings.Left(sBuffer, iReturn)

        iReturn = GetPhysicInfo(iDiskNo, 3, sBuffer) '3 = hdd type        
        Text7.Text = Strings.Left(sBuffer, iReturn)

        iReturn = GetPhysicInfo(iDiskNo, 4, sBuffer) '4 = hdd size        
        Text5.Text = Strings.Left(sBuffer, iReturn)

        iReturn = GetPhysicInfo(iDiskNo, 5, sBuffer) '5 = hdd buffer size
        Text4.Text = Strings.Left(sBuffer, iReturn)

    End Sub

HDDPhysic C# example (source code)

Posted on : 20-10-2009 | By : rlByte Team | In : HDDPhysic

0

Source code example for using HDDPhysic component in C-sharp (C#) is now available in the resources area of the product (here).

Note: the zip archive contains the compiled exe project but it does not contain the HDDPhysic.dll module. To test the project download HDDPHysic.dll and copy the module it in the same folder as the project exe.

screenshot

HDDPhysic (DLL Component) v1.0.0 Launched

Posted on : 18-10-2009 | By : rlByte Team | In : HDDPhysic, rlByte News

0

HDDPhysic is a stand-alone component ( 32/64-bit Windows dynamic-link library – DLL ) that can be used to extract the physical vendor information from the computer hard disk drive (such as the unique serial number or model number).

Why should I need the physical hard drive info?

The physical hard disk serial number is a unique number per hard drive device. If you want a way to identify your application user by generating a serial number for the computer currently running, this is the best approach because you can actually lock your application to the user hard drive by checking the serial number. Please do note that the physical serial number is not the same as the volume serial number, it will not change after a format, and there is no way to change it unless you change the hard drive. (You can find the actual physical serial number written on your hard drive, just have a look at the hdd labels if you can access your hardware).

HDDPhysic can also detect where windows is installed, on which hard drive (See GetPhysicInfo function) .

demo

Requirements

- HDDPhysic is a stand-alone component, does not require any other files to work.

- It uses the drivers on Win32/64 platforms so there are no special library/driver requirements.

- It can be used in any programming/scripting language that can make WINAPI calls like: Delphi, C++Builder, C#, Visual C++, Visual Basic, Visual Basic.NET, VBA, PowerBuilder, Visual Foxpro, Clarion and so on.

- Does not require administrator rights on Win NT/2000/XP/2003/VISTA/7

Download HDDPhysic ( Free Trial)

Buy HDDPhysic (Full version)