Click here to Skip to main content
15,899,563 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I need to change the HDD Volume serial number by C#, VB.NET or VB6

Volume Serial in (Win32_LogicalDisk >> VolumeSerialNumber)

I did find C++ code to change the volume serial but I can't use it in my .NET project

I appreciate your help

Thanks and Best Regards,
Posted
Updated 17-Sep-10 1:40am
v6

I'm not sure about changing it, but here[^] is an article that can help you access it. Hopefully that can get you started on finding a way to change it.
 
Share this answer
 
I would venture a guess and say that it is not possible, but if you claim that you have C++ code that can do it, I might be wrong.

You could try posting that code so we could have a look at it..
 
Share this answer
 
This is the code for C++
Changing volume's serial number[^]

Could not find a similar one for C#!
 
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