<?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 Has anyone connected to a secure site using TLS 1.2? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/has-anyone-connected-to-a-secure-site-using-tls-1/m-p/463997#M5734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to instantiate a simple ServiceFeatureLayer in code but can’t seem to get a site using secure http and tls 1.2 to work.&amp;nbsp; I get the following error whenever it attempts to create the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I am using the ArcGIS runtime SDK with Xamarin and can get my app to work perfectly in every other scenario except TLS 1.2.&amp;nbsp; Does anyone know how to work with TLS 1.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Below is the code snippet if it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var svcFeatureTable = new ServiceFeatureTable(new Uri(url));&lt;/P&gt;&lt;P&gt;await svcFeatureTable.LoadAsync();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (svcFeatureTable.LoadStatus == Esri.ArcGISRuntime.LoadStatus.Loaded)&lt;BR /&gt; {&lt;BR /&gt; // create a feature layer from the table&lt;BR /&gt; var featureLayer = new Esri.ArcGISRuntime.Mapping.FeatureLayer(svcFeatureTable);&lt;/P&gt;&lt;P&gt;// add the feature layer to the map&lt;BR /&gt; MyMapView.Map.OperationalLayers.Add(featureLayer);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Mar 2017 14:27:17 GMT</pubDate>
    <dc:creator>IraCunningham</dc:creator>
    <dc:date>2017-03-31T14:27:17Z</dc:date>
    <item>
      <title>Has anyone connected to a secure site using TLS 1.2?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/has-anyone-connected-to-a-secure-site-using-tls-1/m-p/463997#M5734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to instantiate a simple ServiceFeatureLayer in code but can’t seem to get a site using secure http and tls 1.2 to work.&amp;nbsp; I get the following error whenever it attempts to create the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I am using the ArcGIS runtime SDK with Xamarin and can get my app to work perfectly in every other scenario except TLS 1.2.&amp;nbsp; Does anyone know how to work with TLS 1.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Below is the code snippet if it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var svcFeatureTable = new ServiceFeatureTable(new Uri(url));&lt;/P&gt;&lt;P&gt;await svcFeatureTable.LoadAsync();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (svcFeatureTable.LoadStatus == Esri.ArcGISRuntime.LoadStatus.Loaded)&lt;BR /&gt; {&lt;BR /&gt; // create a feature layer from the table&lt;BR /&gt; var featureLayer = new Esri.ArcGISRuntime.Mapping.FeatureLayer(svcFeatureTable);&lt;/P&gt;&lt;P&gt;// add the feature layer to the map&lt;BR /&gt; MyMapView.Map.OperationalLayers.Add(featureLayer);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 14:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/has-anyone-connected-to-a-secure-site-using-tls-1/m-p/463997#M5734</guid>
      <dc:creator>IraCunningham</dc:creator>
      <dc:date>2017-03-31T14:27:17Z</dc:date>
    </item>
  </channel>
</rss>

