For all your PC requirements

Our Newsletter


GetDiskSerial DLL

RRP:
Price:
$39.95
Vendor:
Brand:
Weight:
Rating:
()
Availability:
Shipping:
Gift Wrapping:


Product Description

GetDiskSerial DLL


GetDiskSerial.DLL is a standard Windows DLL that does not depend on the "support" libraries. You can use it to read the serial number of hard disk easily. As we all know, this serial number is unique in the world. So this DLL is of great use, for example, you can use this serial number to create an machine id or encrypt number.

The GetDiskSerial.DLL has already succeeded to get the Serial Number in Delphi, C++Builder, C#, Visual C++, Visual Basic, Visual Basic.NET, PowerBuilder, Visual Foxpro and Clarion. Here you can download examples of above development language at this site.

- Size only 45KB now !
- REAL serial number of hard disk. NOT Partition ID, NOT Volume ID !

- Not require administrator rights in Win NT/2000/XP/Vista/WIN7 !

Key Features:

  • Easy to obtain the serial number of hard disk.
  • Any operation can not to change the serialnumber of harddisk, include Format and Partition etc.
  • Retrieve REAL serial number of hard disk. NOT Partition ID, NOT Volume ID.
  • Support reading several physics hard disks.
  • Many development languages are supported, such as the Delphi, C++Builder, VC, C#, VB, VB.NET, PowerBuilder, Visual Foxpro, Microsoft VBA, Clarion etc is available.
  • Read more parameters, such as Model Number, Revision Number, Buffer Size, Cylinders, Heads, Sectors per track, etc.
  • Not require administrator rights in Windows 7/Vista/2003/XP/2000/98.

 

Screenshot:


GetDiskSerial DLL

Sample code: Generate unique HardwareID with Delphi, CBuilder, C#, VB.NET

» 1. Delphi Sample Code: Generate unique HardwareID with Delphi

  function GetHardwareID(HDD, NIC, CPU, BIOS: LongBool; REGCODE: PChar):PChar; stdcall; 
external 'HardwareID.dll' name 'GetHardwareID';

implementation

{$R *.dfm}

procedure TForm1.btnGetClick(Sender: TObject);
begin

edtHWID.Text:= GetHardwareID(cbHDD.Checked,
cbNIC.Checked,
cbCPU.Checked,
cbBIOS.Checked,
'License Code');
end;

» 2. C++ Builder Sample Code: Generate unique HardwareID with C++ Builder

  TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
char* (__stdcall *GetHardwareID)(BOOL, BOOL, BOOL, BOOL, char*);
char* (__stdcall *GetHardwareIDWithAppID)(char*, BOOL, BOOL, BOOL, BOOL, char*);

HINSTANCE DllInst = NULL;
char* RegCode = "xxxx-xxxx"; //Enter your license key

//---------------------------------------------------------------------------

void __fastcall TForm1::Button2Click(TObject *Sender)
{
if (DllInst == NULL) DllInst = LoadLibrary("HardwareID.dll");
if (DllInst)
{
GetHardwareID = (char* (__stdcall*)(BOOL, BOOL, BOOL, BOOL, char*))
GetProcAddress(DllInst,"GetHardwareID");

//Call GetHardwareID

Edit1->Text = GetHardwareID(cbHDD->Checked, cbNIC->Checked,
cbCPU->Checked, cbBIOS->Checked, RegCode);
}
}
//---------------------------------------------------------------------------

» 3. C# Sample Code: Generate unique HardwareID with C# (C-Sharp)

  public partial class Form1 : Form
{
// Declare Statement, by AzSDK Technology
[DllImport("HardwareID.dll")]
public static extern String GetHardwareID(bool HDD,
bool NIC,
bool CPU,
bool BIOS,
string sLicenseCode);

public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
textBox1.Text = GetHardwareID(cb_HDD.Checked, cb_NIC.Checked,
cb_CPU.Checked, cb_BIOS.Checked, "License Code");
}
}


» 4. VB.NET Sample Code: Generate unique HardwareID with vb.net

  Imports System.Runtime.InteropServices
Public Class Form1
Public Declare Function GetHardwareID Lib "HardwareID.dll" (ByVal HDD As Boolean,
ByVal NIC As Boolean,
ByVal CPU As Boolean,
ByVal BIOS As Boolean,
ByVal sLicenseCode As String)
As String

Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
_Handles button1.Click

textBox1.Text = GetHardwareID(cb_HDD.Checked,
cb_NIC.Checked,
cb_CPU.Checked,
cb_BIOS.Checked,
"License Code")
End Sub

You can download trial version HERE.

 

 

GetDiskSerial DLL

Personal Developer License

JUST: 39.95 USD

BUY NOW!

GetDiskSerial DLL

Commercial Developer License

JUST: 69.95 USD

BUY NOW!

30 Days no question asked refund guarantee according to seller terms and conditions.


Find Similar Products by Category

Write your own product review

Product Reviews

This product hasn't received any reviews yet. Be the first to review this product!

Add to Wish List

Click the button below to add the GetDiskSerial DLL to your wish list.

You Recently Viewed...