Featured Posts

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

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 W blog book guest levitra ru siteindows...

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

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

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

 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.

USBPhysic C# example (source code sample)

Posted on : 09-02-2010 | By : rlByte Team | In : USBPhysic, rlByte News

2

 In order to get the usb storage device (external portable Hard Drives, flash/pen/key drive etc) 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 USBPhysic library and C# (CSharp) you need to do the following 3 easy steps:

(1) Load USBPhysic library and declare the imported library functions :

 namespace USBPhysic_Example
{
    public partial class Form1 : Form
    {
        //load the library
        [DllImport("USBPhysic")]
        public static extern int Init(string sUser, string sRegCode);

        [DllImport("USBPhysic")]
        public static extern int GetUSBPhysicInfo(int diskIndex, int InfoType, StringBuilder pHddInfo);

        public Form1()
        {
            InitializeComponent();
        }

(2) Call the Init function to initialize the user computer usb storage devices

       private void Form1_Load(object sender, EventArgs e)
        {
            int USBDisks = Init("your reg code here", "your reg code here");

            if (USBDisks > 0)
            {
                for (int i = 0; i < USBDisks; i++)
                {
                    comboBox1.Items.Add(i);
                }
                comboBox1.SelectedIndex = 0;
            }
        }

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

       private void button1_Click(object sender, EventArgs e)
        {
            const int nChars = 1024;
            StringBuilder Buff = new StringBuilder(nChars);
           
            //0 = Get SerialNumber
            if (GetUSBPhysicInfo(Int32.Parse(comboBox1.Items[comboBox1.SelectedIndex].ToString()), 0, Buff) > 0)
                textBox1.Text = Buff.ToString();
            else
                textBox1.Text = "n/a";

            //1 = Get product name
            if (GetUSBPhysicInfo(Int32.Parse(comboBox1.Items[comboBox1.SelectedIndex].ToString()), 1, Buff) > 0)
                textBox2.Text = Buff.ToString();
            else
                textBox2.Text = "n/a";

            //2 = Get USB Manufacturer
            if (GetUSBPhysicInfo(Int32.Parse(comboBox1.Items[comboBox1.SelectedIndex].ToString()), 2, Buff) > 0)
                textBox3.Text = Buff.ToString();
            else
                textBox3.Text = "n/a";

            //3 = Get drive letter mapped on Windows
            if (GetUSBPhysicInfo(Int32.Parse(comboBox1.Items[comboBox1.SelectedIndex].ToString()), 3, Buff) > 0)
                textBox4.Text = Buff.ToString();
            else
                textBox4.Text = "n/a";
           
        }

screenshot

  A complete project with source code example for using USBPhysic component to get usb device (hard disk, storage device pen etc) physical information with CSharp (C#) is available in the resources area of the product (here).

USBPhysic (DLL Component) v1.0.0 Launched

Posted on : 28-01-2010 | By : rlByte Team | In : USBPhysic, rlByte News

0

USBPhysic is a stand-alone component ( 32/64-bit Windows dynamic-link library – DLL ) that can be used to extract the physical vendor information from almost any USB (Universal Serial Bus) storage device. With USBPhysic you can get the manufacturer serial number, manufacturer name and so on,

of the external portable Hard Drives, flash/pen/ key drive or any other kind of USB Storage Device.

Why should I need the physical USB storage info ?

As you know some of the physical information, actually only the serial number, is a unique number/string per device and this offers you a chance to programmatically identify the actual device.

Let’s say you want a way to lock your software to a USB storage device (a small flash pen), or distribute your software only with a USB stick, a fast and reliable way to do that is by generating a serial number based on that USB device serial (the hardware serial number that can not be changed, even after a full format). 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 actual device.

demo

Requirements

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

- USB device serial numbers are optional and it depends on the hardware manufacturer if

they are implemented or not.

- It requires administrator rights on VISTA/Windows 7 to successfully access the USB devices

Download USBPhysic ( Free Trial)

Buy USBPhysic (Full version)

HDDPhysic x64 systems notes

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

2

 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 (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 physic al h

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