PC Review


Reply
Thread Tools Rate Thread

How to create a Serialnumber for App programmatically?

 
 
=?Utf-8?B?WWF2dXogQm9nYXpjaQ==?=
Guest
Posts: n/a
 
      6th Apr 2005
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
 
Reply With Quote
 
 
 
 
Ray Cassick
Guest
Posts: n/a
 
      6th Apr 2005
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.



"Yavuz Bogazci" <(E-Mail Removed)> wrote in message
news:AA047B5F-14C0-45DA-9A76-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Bob Powell [MVP]
Guest
Posts: n/a
 
      6th Apr 2005
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" <(E-Mail Removed)> wrote in message
news:AA047B5F-14C0-45DA-9A76-(E-Mail Removed)...
> 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



 
Reply With Quote
 
Yavuz Bogazci
Guest
Posts: n/a
 
      6th Apr 2005
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


"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> schrieb im Newsbeitrag
news:#(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> news:AA047B5F-14C0-45DA-9A76-(E-Mail Removed)...
> > 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

>
>



 
Reply With Quote
 
Crouchie1998
Guest
Posts: n/a
 
      7th Apr 2005
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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP SP3 refusing serialnumber? duco.quanjer@gmail.com Windows XP Setup 5 12th Jan 2008 08:56 PM
Getting Computer SerialNumber =?Utf-8?B?VG9uaQ==?= Windows Vista General Discussion 1 25th May 2006 04:21 PM
Serialnumber on the monitor... Mogens B. Lassen Windows XP WMI 3 6th Jul 2005 08:01 AM
Serialnumber of Monitor Thomas Niedermeier Windows XP WMI 1 26th Nov 2004 05:12 AM
SerialNumber property !!! Husam Microsoft VB .NET 1 17th Nov 2003 04:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 AM.