Get Drive Serial Number Vb Net

Posted on by
Get Drive Serial Number Vb Net Rating: 7,0/10 6339votes

Here is my method. When answering a question please: • Read the question carefully. • Understand that English isn't everyone's first language so be lenient of bad spelling and grammar. • If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome. • Don't tell someone to read the manual.

Serial Number Lookup

Chances are they have and don't get it. Provide an answer or move on to the next question.

Let's work to help developers, not make them feel stupid.

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. For getting the serial number of hard drive use the code in my previous post Fixed code for Primary hard disk drive Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2. Aircraft Design Software on this page. Click Dim Searcher_p As New ManagementObjectSearcher('root CIMV2', 'SELECT * FROM Win32_DiskDrive') For Each queryObj As ManagementObject In Searcher_p.