Click here to Skip to main content
15,890,609 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I want to get the manufacturer information of a disk. I used WMI and Win32_CDROMDrive class but the result of SerialNumber field was null.
If you use Alcohol 120%, you should see that it shows the manufacturer id of disks.
How can I do it in C#?
TNX
Posted

1 solution

You got the correct class but the wrong property ;)
Have a look at "VolumeName" and "VolumeSerialNumber".

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