Click here to Skip to main content
15,914,162 members
Home / Discussions / C#
   

C#

 
QuestionProxy with authentication retire something Pin
icerein12-Dec-05 13:58
icerein12-Dec-05 13:58 
AnswerRe: Proxy with authentication retire something Pin
Jared Parsons12-Dec-05 14:22
Jared Parsons12-Dec-05 14:22 
GeneralRe: Proxy with authentication retire something Pin
icerein12-Dec-05 19:11
icerein12-Dec-05 19:11 
GeneralRe: Proxy with authentication retire something Pin
Jared Parsons13-Dec-05 7:44
Jared Parsons13-Dec-05 7:44 
GeneralRe: Proxy with authentication retire something Pin
icerein13-Dec-05 13:59
icerein13-Dec-05 13:59 
GeneralRe: Proxy with authentication retire something Pin
Jared Parsons14-Dec-05 4:52
Jared Parsons14-Dec-05 4:52 
GeneralRe: Proxy with authentication retire something Pin
icerein14-Dec-05 13:58
icerein14-Dec-05 13:58 
QuestionLicensing Pin
SBolder12-Dec-05 12:29
SBolder12-Dec-05 12:29 
I Have a class (not a usercontrol) in a seperate assembly that I need to implement licensing on.

I'd like it to do the following and i'm not sure if this is possible.

a) I'd like to not use LIC files, but instead use a RegistryLicenseProvider which gets a certain key/value from the registry and sees if this is valid. I already have this part in my 'GetLicense' function in my derived LicenseProvider.

b) Developer installs package which creates registry key for RegistryLicenseprovider
which denote that this is a valid 'developer' license. For testing purposes I simply created a registry key with the value 'test'.

now the issue comes in the next steps - it should work like this:
c) When compiling the main exe, the license info gets picked up and embedded as runtime license in the exe
d) Client runs fine without this registry key because if it can't find the registry key it finds it embedded in the exe.

This is how i understand the standard LicFileLicenseProvider to work. Is this correct?


Currently the program runs, but as soon as I delete the registry key the program stops working so obviously nothing is getting embedded. I Had to create my own license.licx file and added it to the project as embedded resource too.

So instead of design time I'd almost need compile time licensing.
What am I forgetting or is this just not possible and should I just forget about this?
Do i need to write my own code that somehow gets the embedded licenses from the calling application?

Thanks


AnswerRe: Licensing Pin
SBolder12-Dec-05 13:28
SBolder12-Dec-05 13:28 
Questionarray of strucs Pin
dust212-Dec-05 11:53
dust212-Dec-05 11:53 
AnswerRe: array of strucs Pin
Christian Graus12-Dec-05 12:03
protectorChristian Graus12-Dec-05 12:03 
GeneralRe: array of strucs Pin
dust212-Dec-05 12:48
dust212-Dec-05 12:48 
GeneralRe: array of strucs Pin
Christian Graus12-Dec-05 12:54
protectorChristian Graus12-Dec-05 12:54 
GeneralRe: array of strucs Pin
dust213-Dec-05 3:14
dust213-Dec-05 3:14 
GeneralRe: array of strucs Pin
Christian Graus13-Dec-05 10:37
protectorChristian Graus13-Dec-05 10:37 
QuestionRandom Generation Pin
Dave Hurt12-Dec-05 10:16
Dave Hurt12-Dec-05 10:16 
AnswerRe: Random Generation Pin
Ista12-Dec-05 16:13
Ista12-Dec-05 16:13 
QuestionImplementing an Interface Pin
adafaaa12-Dec-05 10:07
adafaaa12-Dec-05 10:07 
AnswerRe: Implementing an Interface Pin
Colin Angus Mackay12-Dec-05 11:09
Colin Angus Mackay12-Dec-05 11:09 
AnswerRe: Implementing an Interface Pin
Charlie Williams12-Dec-05 11:11
Charlie Williams12-Dec-05 11:11 
QuestionInterfaces & Objects Pin
adafaaa12-Dec-05 9:48
adafaaa12-Dec-05 9:48 
AnswerRe: Interfaces & Objects Pin
Colin Angus Mackay12-Dec-05 11:15
Colin Angus Mackay12-Dec-05 11:15 
QuestionImplementing cut, copy, paste, undo, select all Pin
monrobot1312-Dec-05 9:01
monrobot1312-Dec-05 9:01 
AnswerRe: Implementing cut, copy, paste, undo, select all Pin
Polis Pilavas12-Dec-05 11:26
Polis Pilavas12-Dec-05 11:26 
Questionpassing parameters to a DLL function receiving pointer Pin
devinzhang12-Dec-05 8:27
devinzhang12-Dec-05 8: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.