<?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: Get a Runtime license UWP - Standard or higher through user authorization in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1593203#M13362</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I mean that&amp;nbsp;the project does not compile. Please look at the screenshot of the code with the warning that prevents compilation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Azamat_1-1741316229434.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/127328iC6BD55A401E8E43B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Azamat_1-1741316229434.png" alt="Azamat_1-1741316229434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to change it but it didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best regards, Azamat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Mar 2025 03:00:44 GMT</pubDate>
    <dc:creator>Azamat</dc:creator>
    <dc:date>2025-03-07T03:00:44Z</dc:date>
    <item>
      <title>Get a Runtime license UWP - Standard or higher through user authorization</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1592758#M13357</link>
      <description>&lt;P&gt;Dears community,&lt;/P&gt;&lt;P&gt;I have a task to get a Runtime (UWP) license with authorization by logging into the portal to get license Standard or higher from user.&lt;/P&gt;&lt;P&gt;and I noticed that the old version of ArcGIS Runtime UWP 100... does not work in the new edition of version 200.6.0&lt;/P&gt;&lt;P&gt;Old version 100, it works&lt;/P&gt;&lt;P&gt;CredentialRequestInfo loginInfo = new CredentialRequestInfo();&lt;BR /&gt;loginInfo.ServiceUri = new Uri("&lt;A href="https://arcgis.com/sharing/rest" target="_blank" rel="noopener"&gt;https://arcgis.com/sharing/rest&lt;/A&gt;");&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;var cred = await AuthenticationManager.Current.GenerateCredentialAsync(&lt;BR /&gt;new Uri("&lt;A href="https://arcgis.com/sharing/rest" target="_blank" rel="noopener"&gt;https://arcgis.com/sharing/rest&lt;/A&gt;"),&lt;BR /&gt;"user",&lt;BR /&gt;"password") as ArcGISTokenCredential;&lt;/P&gt;&lt;P&gt;// Connect to the portal (ArcGIS Online or ArcGIS Portal) using the credential&lt;BR /&gt;ArcGISPortal arcgisPortal = await ArcGISPortal.CreateAsync(loginInfo.ServiceUri, cred);&lt;BR /&gt;// Get LicenseInfo from the portal&lt;BR /&gt;LicenseInfo licenseInfo = await arcgisPortal.GetLicenseInfoAsync();&lt;BR /&gt;ArcGISRuntimeEnvironment.SetLicense(licenseInfo);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it doesn't work in 200 version&amp;nbsp;ArcGIS Runtime UWP, unfortunately I couldn't get the code to work on the new version of the platform. I'm starting to think about using the old version 100 for work.&lt;BR /&gt;I'll be glad to get answers on where to go and what to look for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;Best regards, Azamat&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 15:16:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1592758#M13357</guid>
      <dc:creator>Azamat</dc:creator>
      <dc:date>2025-03-06T15:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Runtime license UWP - Standard or higher through user authorization</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1592827#M13359</link>
      <description>&lt;P&gt;This should continue to work. Can you clarify what you mean by "doesn't work" ?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 16:59:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1592827#M13359</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-03-06T16:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Runtime license UWP - Standard or higher through user authorization</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1593203#M13362</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1052"&gt;@dotMorten_esri&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I mean that&amp;nbsp;the project does not compile. Please look at the screenshot of the code with the warning that prevents compilation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Azamat_1-1741316229434.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/127328iC6BD55A401E8E43B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Azamat_1-1741316229434.png" alt="Azamat_1-1741316229434.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to change it but it didn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best regards, Azamat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 03:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1593203#M13362</guid>
      <dc:creator>Azamat</dc:creator>
      <dc:date>2025-03-07T03:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Runtime license UWP - Standard or higher through user authorization</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1595432#M13384</link>
      <description>&lt;P&gt;The overload of CreateAsync that takes a specific credential has indeed been deprecated and removed.&amp;nbsp; In general, instead of passing/setting a specific Credential on your portal or layer, you should just add it to the AuthenticationManager.&amp;nbsp; Here is how you can accomplish your portal login in 200.x:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var cred = await AccessTokenCredential.CreateAsync(
                new Uri("https://arcgis.com/sharing/rest"),
                "user",
                "password");
AuthenticationManager.Current.AddCredential(cred);
ArcGISPortal arcgisPortal = await ArcGISPortal.CreateAsync(cred.ServerContext, loginRequired: true);
// the rest is unchanged&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Mar 2025 21:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1595432#M13384</guid>
      <dc:creator>MatveiStefarov</dc:creator>
      <dc:date>2025-03-13T21:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Runtime license UWP - Standard or higher through user authorization</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1595638#M13388</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/256344"&gt;@MatveiStefarov&lt;/a&gt;&amp;nbsp;, thank you very much, I'll be know.&lt;/P&gt;&lt;P&gt;Finally, it works.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards, Azamat&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 16:00:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/get-a-runtime-license-uwp-standard-or-higher/m-p/1595638#M13388</guid>
      <dc:creator>Azamat</dc:creator>
      <dc:date>2025-03-14T16:00:29Z</dc:date>
    </item>
  </channel>
</rss>

