You need to build in some sort of tolerence. But I would recommend requiring
them be connected to the net at some point. There really is no 100% way to
validate that the program has expired. Possibly you can use some sort of
encryption, and store it in the registry, or some other physical location.
The reason I like the NTP server is that the time can never be wrong, and
people should always be connected to the net anyways. Without the net, how
can you survive?
Kevin Swarts
nAlliance Corporation - Home of nGen 2.0
http://www.nAlliance.com kswarts@nAlliance.com
"MS News (MS ILM)" <sql_agentman@hotmail.com> wrote in message
news:%23FA9bpbaDHA.2476@tk2msftngp13.phx.gbl...[color=blue]
> NTP-
> Kevin,
> The user has to be connected to the NTP server?
> What happens if not connected?
> Ho do you disable a software perminently? after expiration date.
> user can change time.
>
> "Kevin Swarts" <kswarts@nAlliance.com> wrote in message
> news:OtvXoabaDHA.2632@TK2MSFTNGP12.phx.gbl...[color=green]
> > There is an attribute for licensing, however you have to extend this.
> > System.ComponentModel.LicenseProviderAttribute
> >
> > Then in the constrictor you start the licensing.
> >
> > If you do make your own, try to use an NTP server to authenticate your[/color]
> date.[color=green]
> > That way they can't mess with their clock.
> >
> > Kevin Swarts
> > nAlliance Corporation - Home of nGen 2.0
> >
http://www.nAlliance.com
> >
kswarts@nAlliance.com
> >
> > "Arjen" <boah123@hotmail.com> wrote in message
> > news:bi8gen$bja$1@news3.tilbu1.nb.home.nl...[color=darkred]
> > > Is there not something build-in in the .net frame work to do this?
> > >
> > > Thanks!
> > >
> > >
> > > "Kevin Swarts" <kswarts@nAlliance.com> schreef in bericht
> > > news:epZN14aaDHA.3444@tk2msftngp13.phx.gbl...
> > > > Check out Xheo|Licensing -
http://www.xheo.com
> > > >
> > > >
> > > > "Arjen" <boah123@hotmail.com> wrote in message
> > > > news:bi8eql$666$1@news3.tilbu1.nb.home.nl...
> > > > > Hello,
> > > > >
> > > > > I have made an ASP.NET web application.
> > > > >
> > > > > Is there a way to create something that the ASP.NET web[/color][/color][/color]
application[color=blue][color=green]
> > only[color=darkred]
> > > > > works till a given date.
> > > > > If it is the given date the ASP.NET web application may not work[/color][/color][/color]
any[color=blue][color=green][color=darkred]
> > > more.
> > > > > This must be placed in the *.dll file so nobody can use it any[/color][/color][/color]
more.[color=blue][color=green][color=darkred]
> > > > >
> > > > > How can I do this?
> > > > > Can you give me some examples?
> > > > >
> > > > > Thanks!
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color]