Click here to Skip to main content
15,905,875 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need help: Referencing Main Form from a Class Library. Pin
MoustafaS3-May-05 9:11
MoustafaS3-May-05 9:11 
GeneralRe: Need help: Referencing Main Form from a Class Library. Pin
DavidNohejl3-May-05 9:37
DavidNohejl3-May-05 9:37 
QuestionShould I create a Dll? Pin
Anonymous3-May-05 8:27
Anonymous3-May-05 8:27 
AnswerRe: Should I create a Dll? Pin
Anonymous3-May-05 10:17
Anonymous3-May-05 10:17 
GeneralRe: Should I create a Dll? Pin
Anonymous3-May-05 10:44
Anonymous3-May-05 10:44 
GeneralRe: Should I create a Dll? Pin
DavidNohejl3-May-05 11:05
DavidNohejl3-May-05 11:05 
GeneralDLL Config File Pin
jklucker3-May-05 7:53
jklucker3-May-05 7:53 
GeneralRe: DLL Config File Pin
Dave Kreskowiak3-May-05 8:46
mveDave Kreskowiak3-May-05 8:46 
GeneralRe: DLL Config File Pin
jklucker3-May-05 8:54
jklucker3-May-05 8:54 
GeneralRe: DLL Config File Pin
DavidNohejl3-May-05 11:19
DavidNohejl3-May-05 11:19 
GeneralRe: DLL Config File Pin
jklucker4-May-05 16:16
jklucker4-May-05 16:16 
GeneralGames and depth of objects - help =) Pin
Anthony Mushrow3-May-05 7:44
professionalAnthony Mushrow3-May-05 7:44 
GeneralRe: Games and depth of objects - help =) Pin
Judah Gabriel Himango3-May-05 8:13
sponsorJudah Gabriel Himango3-May-05 8:13 
GeneralRe: Games and depth of objects - help =) Pin
Anthony Mushrow3-May-05 8:40
professionalAnthony Mushrow3-May-05 8:40 
GeneralRe: Games and depth of objects - help =) Pin
Judah Gabriel Himango3-May-05 10:35
sponsorJudah Gabriel Himango3-May-05 10:35 
GeneralRe: Games and depth of objects - help =) Pin
Anthony Mushrow3-May-05 20:46
professionalAnthony Mushrow3-May-05 20:46 
GeneralRe: Games and depth of objects - help =) Pin
Anonymous3-May-05 8:30
Anonymous3-May-05 8:30 
GeneralPiping data when using Process class Pin
CTaylor893-May-05 7:41
CTaylor893-May-05 7:41 
GeneralRe: Piping data when using Process class Pin
CTaylor893-May-05 11:48
CTaylor893-May-05 11:48 
GeneralKeep additional information inside a "serial number" Pin
eclipse2k13-May-05 7:33
eclipse2k13-May-05 7:33 
GeneralRe: Keep additional information inside a "serial number" Pin
mav.northwind3-May-05 23:36
mav.northwind3-May-05 23:36 
Hi!

From your description you're using a one-way encryption, where you only verify that a calculated hashkey matches the one in your serial number.
To be able to do so you don't need a reversible algorithm.

In order to decode the additional information you would need a reversible algorithm. I haven't found a way to decode information without placing the information on how to encode the same information in the same program. So it's always possible to encode modified information in a way that matches your algorithm. Your serial would be breakable quite easily.

The solution I've found to suit my needs best is to use a plain-text license file (XML) that contains a private key signature.

That way I can put arbitrary information into the license file and only have to give the public key in my program.
I can verify that the signature matches the license file's contents (i.e. the contents have not been tampered with) and don't have to worry that anybody can use the public key to compute a new signature.

Regards,
mav
GeneralRe: Keep additional information inside a "serial number" Pin
eclipse2k14-May-05 1:57
eclipse2k14-May-05 1:57 
GeneralRe: Keep additional information inside a "serial number" Pin
mav.northwind4-May-05 3:24
mav.northwind4-May-05 3:24 
GeneralRe: Keep additional information inside a "serial number" Pin
eclipse2k14-May-05 3:43
eclipse2k14-May-05 3:43 
GeneralStrip Non-Numeric characters from string Pin
RadioButton3-May-05 7:20
RadioButton3-May-05 7:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.