|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to create a Serialnumber for App programmatically?Hi, we are developing an winforms application for task management. We want
generate a serial number wich includes Username, Company Name and another Information as String. How can i create from these values a serial number? thanks yavuz There are tons of ways to do that. Way too many to cover here in entirety.
here is what I had done before: If your DB structure has a unique id for each entity (username, company name, etc..) then you can simply concatenate those values together to crate the serial number. You can try taking all your strings, concatenating them together and creating a hash value from them. Allot of it depends on weather or not you need to be able to decompose the number back into it's component values or not really. If you use a hash type method then it is pretty much one way. Show quoteHide quote "Yavuz Bogazci" <YavuzBoga***@discussions.microsoft.com> wrote in message news:AA047B5F-14C0-45DA-9A76-8DD073022493@microsoft.com... > Hi, we are developing an winforms application for task management. We want > generate a serial number wich includes Username, Company Name and another > Information as String. How can i create from these values a serial number? > > thanks > yavuz Have you looked at encryption and hash strings?
It's not a number but it's a unique and reasonably uncrackable string if you use more than about 15 characters in it. -- Show quoteHide quoteBob Powell [MVP] Visual C#, System.Drawing Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article. "Yavuz Bogazci" <YavuzBoga***@discussions.microsoft.com> wrote in message news:AA047B5F-14C0-45DA-9A76-8DD073022493@microsoft.com... > Hi, we are developing an winforms application for task management. We want > generate a serial number wich includes Username, Company Name and another > Information as String. How can i create from these values a serial number? > > thanks > yavuz Hi,
no i havent! I need the serial in two ways. That means, i need to create the serial from the given informations and in my app i had to "decrypt" it to show the information and to use them. thanks yavuz Show quoteHide quote "Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> schrieb im Newsbeitrag news:#Oxo0tuOFHA.688@TK2MSFTNGP10.phx.gbl... > Have you looked at encryption and hash strings? > > It's not a number but it's a unique and reasonably uncrackable string if you > use more than about 15 characters in it. > > -- > Bob Powell [MVP] > Visual C#, System.Drawing > > Find great Windows Forms articles in Windows Forms Tips and Tricks > http://www.bobpowell.net/tipstricks.htm > > Answer those GDI+ questions with the GDI+ FAQ > http://www.bobpowell.net/faqmain.htm > > All new articles provide code in C# and VB.NET. > Subscribe to the RSS feeds provided and never miss a new article. > > > > > > "Yavuz Bogazci" <YavuzBoga***@discussions.microsoft.com> wrote in message > news:AA047B5F-14C0-45DA-9A76-8DD073022493@microsoft.com... > > Hi, we are developing an winforms application for task management. We want > > generate a serial number wich includes Username, Company Name and another > > Information as String. How can i create from these values a serial number? > > > > thanks > > yavuz > > So, you will need to use something like the Hard Drive Serial number to
create a number that a user will have to e-mail you. There are a few available as freeware or shareware, but some cost a lot of money. The best method out is to look into the Windows Activation. It works on hardware.Yeah, its only in Base 24 & every 6 bit is a checksum, but if Microsoft can implement it, you can too. This info is available on the MSDN online documentation ------------------------- Whatever method you use will be easy to reverse engineer. All you need is a debugger to set the breakpoints, enter a wrong serial & see where it jumps. Use an ASM program to change to 90 (NOP (No Operation)) therefore the jump if incorrect serial is never made... Crouchie1998 BA (HONS) MCP MCSE
Please do NOT sign the VB.COM petition
What am I doing wrong - Trying to update Option Strict disallows late binding, need to update code Visual Basic App Memory Issue Passing objects ByVal vs ByRef Invert an Arraylist.Sort() SharpZipLib VBN2002 - Programmatically creating a form using a string value as name Parsing a fixed length record into fields Excel In VB.net |
|||||||||||||||||||||||