Click here to Skip to main content
15,911,035 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi Experts,

I would like to capture Harddisk and processor serial No. apply some algorithm over it and generate a new encrypted ID. Further I like to embed this ID to the installed exe. So that it check everytime the same hardware when it run.

Can anyone tell this by any example.

I am using VS2005 and my project is on Vb.Net.

Thanks in advance.

Jay Khatri
Posted

1 solution

you could use WMI for both, or for example, this get Physical HDD serial number without WMI[^] for the disk, serial number is likely out there somewhere.

Similarly, encryption code is easy to find - if you look here on CP you'll find most of what you need including building keys, look for articles by Jeffrey Walton for-instance

We dont in general supply code to people - you have to do the research/grunt work yourself - once you have difficulties with a particular piece of code you can ask back here.

'g'
 
Share this answer
 


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