Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regular Expression Help Pin
John Fisher5-Feb-04 5:50
John Fisher5-Feb-04 5:50 
GeneralRe: Regular Expression Help Pin
David Flores5-Feb-04 7:03
David Flores5-Feb-04 7:03 
Generalpdf 2 txt Pin
Mahesh Varma5-Feb-04 4:04
Mahesh Varma5-Feb-04 4:04 
GeneralRe: pdf 2 txt Pin
Heath Stewart5-Feb-04 6:07
protectorHeath Stewart5-Feb-04 6:07 
GeneralRe: pdf 2 txt Pin
Daniel Turini5-Feb-04 8:56
Daniel Turini5-Feb-04 8:56 
GeneralRe: Challenge: Generating Signed Serial Numbers Pin
Heath Stewart5-Feb-04 5:40
protectorHeath Stewart5-Feb-04 5:40 
GeneralRe: Challenge: Generating Signed Serial Numbers Pin
Heath Stewart5-Feb-04 8:39
protectorHeath Stewart5-Feb-04 8:39 
GeneralRe: Challenge: Generating Signed Serial Numbers Pin
Heath Stewart5-Feb-04 11:24
protectorHeath Stewart5-Feb-04 11:24 
In order to decrypt the data, you would have to store the private key in the application! You might as well give it to your competition, especially if this is a managed application in which all they have to do is use ildasm.exe to extract absolutely everything. My article mentioned something along these lines.

You private key must remain private. You can't decrypt without it, so you shouldn't include it in your application. This is the concept my article talks about - something pretty common in application licensing - signing a document with personal information keeps it unique to a person or machine. You verify that the file exists, verify the file hasn't changed (hence the digest and signature), then verify that the signed information is correct (like the computer name or MAC address is the same). None of this requires a private key, so your private key is kept secret (as it should be).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Challenge: Generating Signed Serial Numbers Pin
Heath Stewart6-Feb-04 1:16
protectorHeath Stewart6-Feb-04 1:16 
QuestionHow to implement "Open With Dialog Box" in .NET Pin
Shailaja5-Feb-04 3:08
Shailaja5-Feb-04 3:08 
AnswerRe: How to implement "Open With Dialog Box" in .NET Pin
Heath Stewart5-Feb-04 5:53
protectorHeath Stewart5-Feb-04 5:53 
Generalfull screen maximize Pin
Blue_Aqua5-Feb-04 2:58
Blue_Aqua5-Feb-04 2:58 
GeneralRe: full screen maximize Pin
occcy5-Feb-04 4:41
occcy5-Feb-04 4:41 
GeneralRe: full screen maximize Pin
Blue_Aqua5-Feb-04 17:27
Blue_Aqua5-Feb-04 17:27 
GeneralPointers to Interfaces for COM Pin
Tristan Rhodes5-Feb-04 2:24
Tristan Rhodes5-Feb-04 2:24 
GeneralProblem 2 Pin
Tristan Rhodes5-Feb-04 2:32
Tristan Rhodes5-Feb-04 2:32 
GeneralRe: Problem 2 Pin
Heath Stewart5-Feb-04 5:14
protectorHeath Stewart5-Feb-04 5:14 
GeneralRe: Problem 2 Pin
Tristan Rhodes5-Feb-04 5:33
Tristan Rhodes5-Feb-04 5:33 
GeneralRe: Problem 2 Pin
Heath Stewart5-Feb-04 6:53
protectorHeath Stewart5-Feb-04 6:53 
GeneralRe: Problem 2 Pin
Tristan Rhodes5-Feb-04 7:13
Tristan Rhodes5-Feb-04 7:13 
GeneralInt / UInt in flag issue Pin
Tristan Rhodes5-Feb-04 1:54
Tristan Rhodes5-Feb-04 1:54 
GeneralRe: Int / UInt in flag issue Pin
Colin Angus Mackay5-Feb-04 1:56
Colin Angus Mackay5-Feb-04 1:56 
GeneralRe: Int / UInt in flag issue Pin
Tristan Rhodes5-Feb-04 2:20
Tristan Rhodes5-Feb-04 2:20 
GeneralRe: Int / UInt in flag issue Pin
Heath Stewart5-Feb-04 5:05
protectorHeath Stewart5-Feb-04 5:05 
GeneralProblem with class inheritance Pin
Andres Coder5-Feb-04 1:34
Andres Coder5-Feb-04 1:34 

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.