Click here to Skip to main content
15,913,289 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey Everyone

can we assign any value permanent to computer hardware (HDD, Processor.etc ) in c#.
I know it is happened only at the time of Manufacturing but after that i want some clarification from u r side means it is possible or not.
Posted
Comments
Nelek 5-Dec-12 4:07am    
What do you mean with "value"? Do you want to change any of the physical properties?
vishal jodh 5-Dec-12 4:44am    
NO, I want assign string value
Ex: like HDD Serial NO I want to assign string value to HDD but no affect for HDD Serial No.

Actually, I am working on Licence key Generator for Web/Desktop base product.

1 solution

No.
Anything you can write can be overwritten - PC's do not have any write-once memory, except for processor,
HDD and such like hardware ID's - which are often laser written at the factory and cannot be changed.

You can only write to the HDD in modern OS's - BIOS memory will almost certainly cause the OS and any antivirus to complain.
 
Share this answer
 
Comments
vishal jodh 5-Dec-12 7:32am    
Thanks Sir

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