"John Bailo" <ja*****@texeme.com> wrote in message
news:43**************@texeme.com...
Nick Malik [Microsoft] wrote: "zz" <zzz> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
We have an hybrid plain C++/COM/VB.NET commercial application in which
we've included a mandatory activation mechanism. This activation system
is programed in the VB.NET part and basically uses the
System.net.WebRequest object to do it's job.
First off, the best way around the firewalls is to post on port 80. Most
firewalls don't block the traffic on port 80.
Well, he says he's using Web Request.
Does that mean you're using a Web service?
If not, the web service would be the right choice here, since as long as
they can run a browser on the workstation, your app can call a web method
and deliver whatever key or code is needed.
In fact, you could make a registered access to the web service the
'activation' in the sense the the app wouldn't run unless they could, say,
make a simple call to the web service/method.
Web service? Forgive my dinosaurian knowledge but that term is a bit hip for
my skills :) I figure that by using the HttpWebRequest object, from dotnet,
I'm using port 80 to do my job and theorically mimicing the browser. But
then again, Norton, Zonealarm and other personnal firewalls will ask the
question "Do you want XXX to access the internet" or silently block me.
We're simply opening a web page using params and using the feedback to
determin wether or not the registration was accepted.
That, and poeple using a proxy configured in Internet Explorer see the
communication fail from the feedback I've had, which would mean the
WebRequest object is not using IE's proxy setup.
I know we'll never be able to have a solution that works 100%, but we're
trying to reduce the number of cases where we need to do a manual
activation. The email idea proposed by Nick is one we though about and we
ultimatly might end up with something like that. Sounds like it would be one
of the most effective way to do this. Our main concern is to not have
someone get their code and give it to all his friends, so we'll need to have
a code that's tied to the user's machine or something to that effect.