By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,969 Members | 1,579 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,969 IT Pros & Developers. It's quick & easy.

Licensing an ASP.NET application

P: n/a
Hi all, I'm about to built in a simple license handler in my ASP.NET
application:

1. I want to specify the licensekey in my web.config:

<mySectionGroup>
<myCustomConfig licenseKey="licensekey here, hashed?">
<newsProviders defaultProvider="MySQLNewsProvider">
<providers>
<add name="MySQLnewsProvider" type="MySQLNewsProvider"/>
</providers>
</newsProviders>
...

2. The licensekey is somehow a hash from the hostname (the customer are able
to type there domainname to buy and generate the licensekey)
3. Inside my code i will decrypt the licensekey and compare it with the
domainname to check credentials.

How would you make the approach?

Thank's in advance!

Jun 2 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.