<?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 Getting Token (generateTorken) in C# from Windows Authenticated Enterprise in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-token-generatetorken-in-c-from-windows/m-p/1012468#M9634</link>
    <description>&lt;P&gt;I am having an issue outlined here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-rest-api-questions/getting-token-generatetorken-in-c-from-windows-authenticated/td-p/1012188" target="_blank"&gt;https://community.esri.com/t5/arcgis-rest-api-questions/getting-token-generatetorken-in-c-from-windows-authenticated/td-p/1012188&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is really associated to using rest from C#, but thought maybe someone here has had a similar experience.&amp;nbsp; Plus I figure the Runtime API has to be doing something similar and things work from Runtime&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Dec 2020 16:50:09 GMT</pubDate>
    <dc:creator>JoeHershman</dc:creator>
    <dc:date>2020-12-28T16:50:09Z</dc:date>
    <item>
      <title>Getting Token (generateTorken) in C# from Windows Authenticated Enterprise</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-token-generatetorken-in-c-from-windows/m-p/1012468#M9634</link>
      <description>&lt;P&gt;I am having an issue outlined here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-rest-api-questions/getting-token-generatetorken-in-c-from-windows-authenticated/td-p/1012188" target="_blank"&gt;https://community.esri.com/t5/arcgis-rest-api-questions/getting-token-generatetorken-in-c-from-windows-authenticated/td-p/1012188&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is really associated to using rest from C#, but thought maybe someone here has had a similar experience.&amp;nbsp; Plus I figure the Runtime API has to be doing something similar and things work from Runtime&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 16:50:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-token-generatetorken-in-c-from-windows/m-p/1012468#M9634</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2020-12-28T16:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Token (generateTorken) in C# from Windows Authenticated Enterprise</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/getting-token-generatetorken-in-c-from-windows/m-p/1012506#M9635</link>
      <description>&lt;P&gt;For anyone interested&lt;/P&gt;&lt;P&gt;Would seem you need to tell the HttpClient to use DefaultCredentials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using HttpClient httpClient = new HttpClient(new HttpClientHandler{UseDefaultCredentials = true});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Took some looking at decompiled Runtime code to find that&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 19:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/getting-token-generatetorken-in-c-from-windows/m-p/1012506#M9635</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2020-12-28T19:01:54Z</dc:date>
    </item>
  </channel>
</rss>

