|
-
Mar 27th, 2007, 05:03 PM
#1
Thread Starter
Lively Member
How can I get the serial number of the processor?
I want to protect my program from illegal copying;
How can I get the serial number of the processor or other hardware
And is there a better way for protection?
-
Mar 27th, 2007, 05:30 PM
#2
Hyperactive Member
Re: How can I get the serial number of the processor?
Here is a premade project that shows you how to get all sorts of hardware information:
http://www.codeproject.com/vbscript/VvvHardwareInfo.asp
If you are selling this program and want to issue licenses and help prevent pirating, I suggest using a "wrapper program" or an encapsulating program such as Armadillo: Armadillo
-
Mar 27th, 2007, 05:32 PM
#3
Re: How can I get the serial number of the processor?
 Originally Posted by Amr Al-Amir
I want to protect my program from illegal copying;
How can I get the serial number of the processor or other hardware
And is there a better way for protection?
Microsoft, with all their expertise and resources, can't prevent all copying, so the best you can do is make it difficult for the person to copy. The more difficult you make it the better the chance that they'll give up. (That means a few totally unrelated methods. They break one, it still doesn't work. They find another and break it, it still doesn't work. After the 5th or 6th one, most people will have given up.)
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
Mar 28th, 2007, 05:52 AM
#4
Re: How can I get the serial number of the processor?
Using WMI in VB will get you just about anything too. But do note that a CPU serial number is protected in the BIOS with an option to hide it from discovery/reading outside of the BIOS.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Mar 28th, 2007, 06:34 AM
#5
Re: How can I get the serial number of the processor?
 Originally Posted by Al42
Microsoft, with all their expertise and resources, can't prevent all copying, so the best you can do is make it difficult for the person to copy. The more difficult you make it the better the chance that they'll give up. (That means a few totally unrelated methods. They break one, it still doesn't work. They find another and break it, it still doesn't work. After the 5th or 6th one, most people will have given up.)
This is something that you should keep in mind when adding "copy protection" to your application.
There is no 100% guarentee.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|