Re: [ADVANCED-DOTNET] looking for anti-piracy resources

2005-09-07 Thread Frans Bouma
> Do you have any evidence that this would be any more > difficult than disassembling a traditional Windows > executable? That is, it seems that it would take quite a bit > of time to grok even a moderately sized assembly that had > been decently obfuscated, eve n if looking at the source code > g

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-07 Thread Rob Perkins
On Wed, 7 Sep 2005 10:56:41 -0500, Eric Means <[EMAIL PROTECTED]> wrote: >When signing up for events from a remoted object, the server object needs to >have access to the client code in order to complete the event registration >(otherwise it doesn't know how to call the delegate when the event is

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-07 Thread Rob Perkins
On Wed, 7 Sep 2005 10:40:42 -0600, Mike Woodring <[EMAIL PROTECTED]> wrote: >> When signing up for events from a remoted object, the server >> object needs to >> have access to the client code in order to complete the event >> registration >> (otherwise it doesn't know how to call the delegate whe

Re: [ADVANCED-DOTNET] looking for anti-piracy resources

2005-09-07 Thread Christopher
Simply a matter of opinion. I'm just saying that someone determined to crack or decompile your program could probably do it given enough time. It is, after all, only obfuscation. -- -Christopher ASP.NET MVP | AspInsider http://www.chrisfrazier.net/blog > -Original Message- > From: Unmod

Re: [ADVANCED-DOTNET] Multi threading and events

2005-09-07 Thread Rich Armstrong
If you're using WinForms, this article should clarify the issue. It's my favorite on this subject: http://msdn.microsoft.com/msdnmag/issues/03/02/Multithreading/ -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Stephen L. Bub

Re: [ADVANCED-DOTNET] Multi threading and events

2005-09-07 Thread Adam Sills
All events are run on the thread that raises the event. In the case of System.Timers.Timer, its event is raised from a thread pool thread. If you specify a SynchronizingObject value (which is specified when you drag it onto a form in the designer), then the thread pool thread invokes the message o

Re: [ADVANCED-DOTNET] Multi threading and events

2005-09-07 Thread Vince Pacella
Events are caught/handled on the same thread from which they are raised. If you're doing work with the Windows message pump (aka, a GUI app) then you would need to marshal the thread to the so-called UI thread by using the Invoke or BeginInvoke method of any System.Windows.Forms.Control derived cla

Re: [ADVANCED-DOTNET] looking for anti-piracy resources

2005-09-07 Thread J. Merrill
Do you have any evidence that this would be any more difficult than disassembling a traditional Windows executable? That is, it seems that it would take quite a bit of time to grok even a moderately sized assembly that had been decently obfuscated, even if looking at the source code generated b

Re: [ADVANCED-DOTNET] Multi threading and events

2005-09-07 Thread Franklin Gray
everything that I know of runs on the UI thread unless you program it to run on a seperate thread. Running processing on seperate threads frees up the UI thread to do other things. Take for example loading a form with a grid on it. That grid needs to retrieve data from the DB. Sometimes that ta

[ADVANCED-DOTNET] Multi threading and events

2005-09-07 Thread Stephen L. Bub
Hi, My name is Stephen. Could you please tell me whether events are fired using the thread that raised the event, a new thread, or a thread from the thread pool. For example, what thread does a System.Timers.Timer Elapsed event run on. How can I find this out for each class, etc. I am developi

Re: [ADVANCED-DOTNET] looking for anti-piracy resources

2005-09-07 Thread Christopher
If you are looking to use a 3rd party component, you may want to look into xheo|licensing http://xheo.com/products/enterprise/licensing/default.aspx . AFAICT, it is the major (if only) player in the extended licensing market for .net apps. It will handle all of the scenarios you described easily, a

Re: [ADVANCED-DOTNET] looking for anti-piracy resources

2005-09-07 Thread Wilson, Phil D
It sounds like you want something remarkably similar to Microsoft's activation scheme. I think they describe the machine identification scheme somewhere (but not low level) and if you can require an internet connection you can provide a common repository for each installed copy of the software.

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-07 Thread Mike Woodring
> When signing up for events from a remoted object, the server > object needs to > have access to the client code in order to complete the event > registration > (otherwise it doesn't know how to call the delegate when the event is > raised). You can do this a number of ways; the easiest is to > co

Re: [ADVANCED-DOTNET] AddHandler runtime error on remoted singleton

2005-09-07 Thread Eric Means
When signing up for events from a remoted object, the server object needs to have access to the client code in order to complete the event registration (otherwise it doesn't know how to call the delegate when the event is raised). You can do this a number of ways; the easiest is to copy the clie