Click here to Skip to main content
15,913,027 members
Home / Discussions / C#
   

C#

 
AnswerRe: Beginner Help: Unassigned local variable Pin
Tom Larsen21-Oct-05 4:58
Tom Larsen21-Oct-05 4:58 
AnswerRe: Beginner Help: Unassigned local variable Pin
whizzs21-Oct-05 11:07
whizzs21-Oct-05 11:07 
QuestionWriting a Trailware for an Application Pin
Samar Aarkotti21-Oct-05 4:18
Samar Aarkotti21-Oct-05 4:18 
AnswerRe: Writing a Trailware for an Application Pin
Tom Larsen21-Oct-05 4:54
Tom Larsen21-Oct-05 4:54 
GeneralRe: Writing a Trailware for an Application Pin
Samar Aarkotti21-Oct-05 5:22
Samar Aarkotti21-Oct-05 5:22 
GeneralRe: Writing a Trailware for an Application Pin
Tom Larsen21-Oct-05 8:09
Tom Larsen21-Oct-05 8:09 
GeneralRe: Writing a Trailware for an Application Pin
Samar Aarkotti21-Oct-05 8:26
Samar Aarkotti21-Oct-05 8:26 
GeneralRe: Writing a Trailware for an Application Pin
Tom Larsen21-Oct-05 10:55
Tom Larsen21-Oct-05 10:55 
I wish you luck. If you find a bulletproof solution then you should sell it. Smile | :) This is the level of stuff Macromedia is wrestling and I don't think they've got a solution yet.

To hack that scheme you've just described I would recommend: Disassemble the binary executable to figure out the when the call happens to check the license file. It becomes a matter of simply removing the places it is called in the IL or altering the function to always return "yes I'm licensed" depending on which has a larger impact on the IL. Copy all of the rest of the IL into a new hacked version. If you really want to be clean you'd also remove the call to request an encrypted license file from the server using the same methods.

If there is no SSL, an even simpler way to do is just hang onto the encrypted license file and continually serve it to the application.

I've worked with a licensing scheme somewhat like you've described (btw, the server bit is a bit more complex than I suspect you think Smile | :) ). It is "good enough" but hardly hardened and light years away from bulletproof.

I would love for someone to come up with a .Net way of doing this kind of hardened licensing but all indications it is not possible inside of the .Net Framework. Instead to do this it has to come from *outside* where the very nature of assembly loading is tied in. This means that Fusion itself must be changed to do some more strenious validation. It must be done at that step because the moment you allow any IL to run on the CLR you've opened a place where you can subvert the license mechanism.


-- modified at 16:59 Friday 21st October, 2005
GeneralRe: Writing a Trailware for an Application Pin
Samar Aarkotti22-Oct-05 6:06
Samar Aarkotti22-Oct-05 6:06 
GeneralRe: Writing a Trailware for an Application Pin
Samar Aarkotti22-Oct-05 7:35
Samar Aarkotti22-Oct-05 7:35 
QuestionHow to save a hotkey assignment Pin
mav.northwind21-Oct-05 3:54
mav.northwind21-Oct-05 3:54 
AnswerRe: How to save a hotkey assignment Pin
sebastud21-Oct-05 7:20
sebastud21-Oct-05 7:20 
GeneralRe: How to save a hotkey assignment Pin
mav.northwind21-Oct-05 23:39
mav.northwind21-Oct-05 23:39 
QuestionRemoting server crashes when client quits Pin
polisen21-Oct-05 3:53
polisen21-Oct-05 3:53 
AnswerRe: Remoting server crashes when client quits Pin
Tom Larsen21-Oct-05 5:01
Tom Larsen21-Oct-05 5:01 
GeneralRe: Remoting server crashes when client quits Pin
polisen21-Oct-05 6:28
polisen21-Oct-05 6:28 
AnswerRe: Remoting server crashes when client quits Pin
Rob Graham21-Oct-05 8:02
Rob Graham21-Oct-05 8:02 
GeneralRe: Remoting server crashes when client quits Pin
Anonymous21-Oct-05 8:06
Anonymous21-Oct-05 8:06 
QuestionScroll A Control Manually Pin
Ali Beirami21-Oct-05 3:06
Ali Beirami21-Oct-05 3:06 
AnswerRe: Scroll A Control Manually Pin
Gulfraz Khan21-Oct-05 3:12
Gulfraz Khan21-Oct-05 3:12 
GeneralRe: Scroll A Control Manually Pin
Ali Beirami21-Oct-05 12:30
Ali Beirami21-Oct-05 12:30 
QuestionSets Dcom Security For A Specified Application, in .net Pin
joaoPaulo21-Oct-05 2:32
joaoPaulo21-Oct-05 2:32 
QuestionBreaking a string into separate words Pin
hasanali0021-Oct-05 1:51
hasanali0021-Oct-05 1:51 
AnswerRe: Breaking a string into separate words Pin
MoustafaS21-Oct-05 1:58
MoustafaS21-Oct-05 1:58 
AnswerRe: Breaking a string into separate words Pin
S. Senthil Kumar21-Oct-05 2:01
S. Senthil Kumar21-Oct-05 2:01 

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.