FAQ: How to get serial number of hard disk in my vb program?

If you are an VB Developer and looking for a solution to get serial number of hard disk in your VB applicaton, you can try our GetDiskSerial DLL. With a few function call in VB, it helps you read the Serial Number of Hard Disk in your VB projects easily and quickly.

Public Declare Sub SetLicenseKey Lib "GetDiskSerial.dll" (ByVal RegCode As String)
Public Declare Function GetSerialNumber Lib "GetDiskSerial.dll" (ByVal DriveIndex As Byte) As String

Private Sub Command1_Click()
    Text1.Text = GetSerialNumber(0)
End Sub

Free Trial GetDiskSerial DLL Now

See Also: