<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Licensing in .NET explained - Part 1</title>
	<link>http://blogs.ilog.com/netvisu/2008/05/13/licensing-in-net-explained-part-1/</link>
	<description>Postings from the Visualization .NET Development Team</description>
	<pubDate>Mon, 01 Dec 2008 20:04:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: Robert Dupuy</title>
		<link>http://blogs.ilog.com/netvisu/2008/05/13/licensing-in-net-explained-part-1/#comment-50</link>
		<dc:creator>Robert Dupuy</dc:creator>
		<pubDate>Thu, 29 May 2008 09:31:41 +0000</pubDate>
		<guid>http://blogs.ilog.com/netvisu/2008/05/13/licensing-in-net-explained-part-1/#comment-50</guid>
		<description>I would simply create a License subclass that would update a counter (in a file, a database, in the application session, ...). The counter should be modified in the constructor and in the Dispose method of the License. When the counter reaches a specific value, you can throw an exception in the License constructor.

Of course, to be able to use your License, you should create the appropriate LicenseProvider. See my second article on this subject for details.

Then, to control the number of users allowed to use your web app, you simply have to set the counter to the right value. You can imagine to set this value directly in the web.config file as a custom property.

Hope this helps</description>
		<content:encoded><![CDATA[<p>I would simply create a License subclass that would update a counter (in a file, a database, in the application session, &#8230;). The counter should be modified in the constructor and in the Dispose method of the License. When the counter reaches a specific value, you can throw an exception in the License constructor.</p>
<p>Of course, to be able to use your License, you should create the appropriate LicenseProvider. See my second article on this subject for details.</p>
<p>Then, to control the number of users allowed to use your web app, you simply have to set the counter to the right value. You can imagine to set this value directly in the web.config file as a custom property.</p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dotnetter</title>
		<link>http://blogs.ilog.com/netvisu/2008/05/13/licensing-in-net-explained-part-1/#comment-47</link>
		<dc:creator>dotnetter</dc:creator>
		<pubDate>Tue, 27 May 2008 11:28:10 +0000</pubDate>
		<guid>http://blogs.ilog.com/netvisu/2008/05/13/licensing-in-net-explained-part-1/#comment-47</guid>
		<description>What do I need to do, If I need to create a tool that can create licenses for any given web application. The license will go along with the web application and at runtime the web app. needs to check if the number of users in its DB is within the limit set in the license. Also how can the number of users be set as part of the license. The license generation tool will take this number as a user input before it generates a license for the web application in question.
Please guide.</description>
		<content:encoded><![CDATA[<p>What do I need to do, If I need to create a tool that can create licenses for any given web application. The license will go along with the web application and at runtime the web app. needs to check if the number of users in its DB is within the limit set in the license. Also how can the number of users be set as part of the license. The license generation tool will take this number as a user input before it generates a license for the web application in question.<br />
Please guide.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
