|
-
Jan 5th, 2008, 01:12 PM
#1
Thread Starter
Lively Member
Serial Code Input...
Yes, this is another 'how to require serial code' thread. At the moment I'm experimenting, I'm not thinking about charging people for my program at this point, but I built a custom installer (which is nothing special, really) and I want my program to verify the user input. But how would I do that without listing all of the various approved serials? I want the serial to be 16-digit (####-####-####-####). Can anyone recommend a way to do this?
Syrillia.
-
Jan 5th, 2008, 01:15 PM
#2
Re: Serial Code Input...
You need to create an alogorithum that will generate and verify the code. It should be based upon some major hardware element that doesnt really get replaced very often like a processor. Use that info as the key for your alogorithum.
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 
-
Jan 5th, 2008, 01:18 PM
#3
Thread Starter
Lively Member
Re: Serial Code Input...
OK...That actually made about as much sense to me as a 3 legged donkey humping a dead raccoon. So none. Could you elaborate for me?
-
Jan 5th, 2008, 01:34 PM
#4
Re: Serial Code Input...
Ok, we you need to come up with some mathematical formula for generating your serial number. In that formula you should have it use some hardware info that you obtain in it so the serial number will always be unique and specific to each system its installed on. You wouldnt want multiple people using the same serial numbers.
So say you get the serial number of the cpu or its speed as your key. You could use it similarily.
SerialNumber = "cpuKey" * "InstallDate"
Then format your numbers and or apply MD5 encryption.
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 
-
Jan 5th, 2008, 02:10 PM
#5
Thread Starter
Lively Member
Re: Serial Code Input...
Wicked, thanks for helping...
-
Jan 5th, 2008, 02:19 PM
#6
Re: Serial Code Input...
The complexity of your alogorithum will depend upon how hard you want to work at preventing unauthorized use of your app. More and more we are seeing apps that have internet activations as they transmit that data and the users IP address and provider too. That locks that info down to that user but with IPs that are dynamic or static ones that eventually may change can cause the triggering of re-activations.
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 
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
|