title: httpclient issue in UWP
body: <p>I am using System.Net.Http.HttpClient, 
  It is showing some weird errors.Below is  my code.</p>
  
  <pre><code>public async static Task SearchYoutube(string query, int count)
  {
      try
      {
          string format = "https://www.googleapis.com/youtube/v3/search?part=snippet&amp;maxResults=20&amp;q=mere&amp;key=XXXXXXXXXXXXXXX&amp;pageToken=";
  
          HttpClient client = new HttpClient();
          // System.Net.ServicePointManager.EnableDnsRoundRobin = true;
          var html = await client.GetStringAsync(format);
          string ht = html.ToString();
      }
      catch (Exception ex)
      {
          //var resp = ex.Response as HttpWebResponse;
      }
  }
  </code></pre>
  
  <p>Exception-
  The text associated with this error code could not be found.</p>
  
  <p>An error occurred in the secure channel support.</p>
  
  <p>My workarounds-
  hrresult- -2147012739(I think this WINNETI_SCHANNEL_ERROR)</p>
  
  <p>below is the stacktrace-</p>
  
  <blockquote>
    <p>at System.Net.Http.HttpClientHandler.d__86.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
           at System.Net.Http.HttpClient.d__58.MoveNext()</p>
  </blockquote>
  
  <p>Steps I have taken to resolve the issue:</p>
  
  <p>1.Turned off Firewall.</p>
  
  <p>2.Given all available options in INTERNET OPTIONS(SSL,TLS etc.)</p>
  
  <p>3.The link you have provided ,I have already checked that.</p>
  
  <p>4.Tried Windows.Web.http instead of system.net.http</p>
  
  <p>5.Used Handlers and Certificates</p>
  
  <p>6.Checked capabilities-Internet(Client),Internet(Client and server) ,Private Networks(Even I checked all of the capabilities and tried but same result)</p>
  
  <p>7.I have created a console application and pasted same codes,Worked like a charm.The only problem is ,it is not working in uwp platform and specifically in my system(It is working in my friend's system).</p>
  
  <p>8.Tried all available option available in internet.</p>