Click here to Skip to main content
15,881,092 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,

I have two hard drives in my machine, but my Windows operating system is installed in one of them.
how do i know the hard drive serial number (given by manufacture) in which my operating system is installed.

Using Asp.net, C#.

Thanks in advance.
:-)
Posted

How to Retrieve the REAL Hard Drive Serial Number[^] may help.

If you do a search, you may find alternative solutions to this as well.
 
Share this answer
 
v2
Comments
saj_21 21-Sep-11 5:10am    
its correct. I have seen it before but, i don't want serial numbers of all hard drives.
I want serial number of a drive in which my operating system is installed like i have installed windows OS in C: drive and if C: drive is in the first hard drive then I want serial number of that drive.
Can you suggest me any other solution for same.
A similar question[^] was asked before.
Check the links and comments in the given solution.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900