Featured Posts

WP Comments Manager Today we are very proud to announce the release of our first Windows Phone 7 application that binds your Wordpress based blogs with your Windows Phone. Now you can manage your blog comments directly...

Readmore

Using IssProc with NSIS to detect files in use Although IssProc was specially designed for Inno Setup scripts, you can also use it with other setup scripts like NSIS (Nullsoft Scriptable Install System) Here is a few steps you need to do in order...

Readmore

Using IssProc with NSIS to detect files in use Although IssProc was specially designed for Inno Setup scripts, you can also use it with other setup scripts like NSIS (Nullsoft Scriptable Install System) Here is a few steps you need to do in order...

Readmore

IssProc (DLL Component) Launched IssProc is a user friendly "file in use" extension for Inno Setup (or other setup builder application like NSIS) that can be used to detect if a certain application (exe, dll module, ocx and so on) or...

Readmore

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 ...

Readmore

  • Prev
  • Next

USBPhysic updated to v1.1.0

Posted on : 17-05-2010 | By : rlByte Team | In : rlByte News, USBPhysic

0

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

Here is what’s new in this version:

  • improved hardware serial extraction in Vista and Windows 7.
  • you don’t need o have your application elevated anymore in Windows Vista or 7 when admin rights required. Now it works even with a guest account type.

Get the new version from here.

HDDPhysic v1.1.0 is released!

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

5

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.

Special discount offer: -20% on purchase

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

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 vend or inf ormation 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: Th is 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.

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

  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 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

screenshot