<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Check Runtime License Level in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/check-runtime-license-level/m-p/113748#M473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, it's not possible via the API to check the license level. We did consider adding a property or enum for this purpose but came to the decision that it is actually unnecessary:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Deployment licenses do not expire, therefore the entire license file/string-array is either valid or invalid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Deployment licenses are specific to an application, therefore when you deploy your application you only deploy one license file/string with that application, i.e. the application is either licensed for everything in the license file or not at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The license is initialized for the lifetime of the application and cannot be switched dynamically (nor would you want to - see above)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- As a developer you are are licensed for basic, standard and all extensions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Calling ArcGISRuntime.Initialize() will validate the license and raise an exception is the license is not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With all this in mind we decided that it is not necessary to check the contents of the license - just to check that it is valid via the ArcGISRuntime.Initialize() method. However, we could reconsider for a future release if you have a specific requirement to check the license.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jun 2012 07:22:24 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2012-06-15T07:22:24Z</dc:date>
    <item>
      <title>Check Runtime License Level</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/check-runtime-license-level/m-p/113747#M472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to check what the current settings for the Runtime license level (Basic or Standard) + Extensions are?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be nice to see it in the ArcGISRuntime class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrew Purkis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 17:05:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/check-runtime-license-level/m-p/113747#M472</guid>
      <dc:creator>AndrewPurkis</dc:creator>
      <dc:date>2012-06-14T17:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Check Runtime License Level</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/check-runtime-license-level/m-p/113748#M473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, it's not possible via the API to check the license level. We did consider adding a property or enum for this purpose but came to the decision that it is actually unnecessary:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Deployment licenses do not expire, therefore the entire license file/string-array is either valid or invalid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Deployment licenses are specific to an application, therefore when you deploy your application you only deploy one license file/string with that application, i.e. the application is either licensed for everything in the license file or not at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The license is initialized for the lifetime of the application and cannot be switched dynamically (nor would you want to - see above)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- As a developer you are are licensed for basic, standard and all extensions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Calling ArcGISRuntime.Initialize() will validate the license and raise an exception is the license is not valid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With all this in mind we decided that it is not necessary to check the contents of the license - just to check that it is valid via the ArcGISRuntime.Initialize() method. However, we could reconsider for a future release if you have a specific requirement to check the license.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 07:22:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/check-runtime-license-level/m-p/113748#M473</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2012-06-15T07:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Check Runtime License Level</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/check-runtime-license-level/m-p/113749#M474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I'm still a bit confused.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Up till now I've not paid to much attention to the licensing of the product. I've been storing a license string in a file (standard), read it in do a&amp;nbsp; ArcGISRuntime.SetLicense(license-file), then a&amp;nbsp; ArcGISRuntime.Initialize() and make sure it's initialized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In our final product, we will be deploying some basic and some standard versions, and probably some with extensions. What I need is one executable for everything, and after I've run the Initialize, check the version to ensure I disable all functionality that doesn't apply based on the current license.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran some checks today, and in a development environment, everything is enabled, even if I run with a basic license.&amp;nbsp; It would be nice if when I set it to basic in development, it lets me know when I'm trying to initialize functionality, not covered by that license level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as determining the license level, obviously, I can parse the data in the license string, and use that. But what bothers me with that is strings can easily be changed 2-3 years down the road, without realizing the consequences. An enum within ArcGISRuntime object would hopefully safeguard against that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 15:17:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/check-runtime-license-level/m-p/113749#M474</guid>
      <dc:creator>AndrewPurkis</dc:creator>
      <dc:date>2012-06-18T15:17:33Z</dc:date>
    </item>
  </channel>
</rss>

