title: Client stuck downloading website source c#
body: <p>I am trying to download a websites source code, as soon as I press the button to start retrieving, the programm would stuck infinitely</p>
  <p>My code:</p>
  <pre><code>
  using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Net;
  using System.Text;
  using System.Text.RegularExpressions;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  
  namespace WindowsFormsApp3
  {
      public partial class Form1 : Form
      {
          public Form1()
          {
              InitializeComponent();
          }
  
          private void button1_Click(object sender, EventArgs e)
          {
              using (WebClient client = new WebClient())
              {
                  System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
                  string html = client.DownloadString(&quot;https://www.finanzen.net/termine/unternehmen/&quot;);
                  MessageBox.Show(html);
              }
          }
      }
  }
  </code></pre>
  <p>How can I fix this issue ? Any help appreciated :)</p>