A
Anders Bergkvist
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!
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!