Click here to Skip to main content
15,904,153 members
Home / Discussions / C#
   

C#

 
AnswerRe: Scroll tableLayoutPanel Pin
Henry Minute20-Feb-09 0:39
Henry Minute20-Feb-09 0:39 
QuestionError in using SpeechLib namespace Pin
ReachMe@CodeProject19-Feb-09 21:52
ReachMe@CodeProject19-Feb-09 21:52 
AnswerRe: Error in using SpeechLib namespace Pin
MumbleB19-Feb-09 22:12
MumbleB19-Feb-09 22:12 
GeneralRe: Error in using SpeechLib namespace Pin
ReachMe@CodeProject19-Feb-09 23:26
ReachMe@CodeProject19-Feb-09 23:26 
QuestionAuthentication premission to software [modified] Pin
lavankumar19-Feb-09 20:03
lavankumar19-Feb-09 20:03 
AnswerRe: Authentication premission to software Pin
Vimalsoft(Pty) Ltd19-Feb-09 20:51
professionalVimalsoft(Pty) Ltd19-Feb-09 20:51 
AnswerRe: Authentication premission to software Pin
Ashfield19-Feb-09 21:37
Ashfield19-Feb-09 21:37 
AnswerRe: Authentication premission to software Pin
dojohansen19-Feb-09 22:36
dojohansen19-Feb-09 22:36 
The logic for keeping track of who is logged in, preventing multiple simultaneous logins by the same user (if desired), and denying login for an 11th user is straightforward. But presumably you would like to avoid hard-coding this yet add some sort of protection so users cannot too easily get around the restrictions.

My suggestion is to use a license file in flat or XML format and sign it digitally. Digital signatures work similarly to public-key encryption (and indeed one normally uses the same keys for signing and encryption purposes). Basically, there is a key pair consisting of a private key used for decryption and signing, and a public key which is used for encryption and verifying signatures. This is handy, because it means you can embed the public key in your application to verify that the license file has indeed been signed by the corresponding private key, which you don't have to distribute.

I can make you - for a reasonable fee - a license class that takes care of the details of signing a license. Then you simply create your key pair (using sn.exe, provided with Visual Studio), and focus on the business logic rather than the tech details. The class will represent the license as a collection of name-value pairs, keep the file in plain text so it can be read by a human, but detect it if the file is modified so the information no longer matches the signature.

Just message me if you are interested.
GeneralRe: Authentication premission to software Pin
Ashfield20-Feb-09 1:29
Ashfield20-Feb-09 1:29 
GeneralRe: Authentication premission to software Pin
dojohansen20-Feb-09 2:34
dojohansen20-Feb-09 2:34 
GeneralRe: Authentication premission to software Pin
Ashfield20-Feb-09 3:07
Ashfield20-Feb-09 3:07 
GeneralRe: Authentication premission to software [modified] Pin
dojohansen20-Feb-09 3:28
dojohansen20-Feb-09 3:28 
GeneralRe: Authentication premission to software Pin
Ashfield20-Feb-09 3:52
Ashfield20-Feb-09 3:52 
GeneralRe: Authentication premission to software Pin
dojohansen20-Feb-09 4:30
dojohansen20-Feb-09 4:30 
GeneralRe: Authentication premission to software Pin
Ashfield20-Feb-09 4:49
Ashfield20-Feb-09 4:49 
AnswerRe: Authentication premission to software Pin
dojohansen20-Feb-09 2:40
dojohansen20-Feb-09 2:40 
QuestionSetup wizard problem Pin
Waheed Ur Rehman19-Feb-09 19:58
Waheed Ur Rehman19-Feb-09 19:58 
AnswerRe: Setup wizard problem Pin
Vimalsoft(Pty) Ltd19-Feb-09 20:44
professionalVimalsoft(Pty) Ltd19-Feb-09 20:44 
GeneralRe: Setup wizard problem Pin
Waheed Ur Rehman19-Feb-09 21:50
Waheed Ur Rehman19-Feb-09 21:50 
GeneralRe: Setup wizard problem Pin
Vimalsoft(Pty) Ltd19-Feb-09 22:17
professionalVimalsoft(Pty) Ltd19-Feb-09 22:17 
GeneralRe: Setup wizard problem Pin
Waheed Ur Rehman19-Feb-09 23:10
Waheed Ur Rehman19-Feb-09 23:10 
GeneralRe: Setup wizard problem Pin
Vimalsoft(Pty) Ltd20-Feb-09 0:05
professionalVimalsoft(Pty) Ltd20-Feb-09 0:05 
GeneralRe: Setup wizard problem Pin
Waheed Ur Rehman20-Feb-09 10:00
Waheed Ur Rehman20-Feb-09 10:00 
Questiontext editor in c#... Pin
mr.mohsen19-Feb-09 19:33
mr.mohsen19-Feb-09 19:33 
AnswerRe: text editor in c#... Pin
V.19-Feb-09 20:27
professionalV.19-Feb-09 20:27 

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.