Description: This VB code (function) enables you to retrieve the hard disk (partition) serial number. This serial number is generated by Windows (or DOS) when you format a disk partition. Keywords: Disk Serial Number, Hard Disk Serial, Drive Serial Number 'Note: This code requires a referecne to the Microsoft Scripting Runtime library (SCRRUN.DLL). How to get a drive serial number in C# and VB.NET Administrator June 21, 2014 1 Comment To get a drive serial number in C# and VB.NET you can use the following snippet. Jun 04, 2008 Hi I just wanted to get the serial numbers for the local hard drives (not volume serial) I'm using this in a vbscript file to get the IRQ data.
Get Drive Serial Number Vb Network
- The library get physical information (Model Number, Serial Number and Firmware Revision) of the IDE Hard disk (unit from 0 to 3) SMART compliant Download code Note: Due to the size or complexity of this submission, the author has submitted it as a.zip file to shorten your download time.
- How to Find USB device serial Number in VB.NET. If currentDrive = driveLetter Then ' This is where we get the drive serial Dim disks As New ManagementObjectSearcher('SELECT * FROM Win32_DiskDrive') For Each disk As ManagementObject In disks.[Get]().
- Get the Drive Serial Number You can get the serial number of your hard drive, floppy disk, or CD-ROM easily without any additional ActiveX component. First, start a VB project, add a standard module, and place a Command Button control on the form.
|