title: C# TcpClient.Connect via a proxy
body: <p>I've searched high and low trying to figure this out, but everything I've seen so far, people are just telling me to use other methods. </p>
  
  <p>With that out of the way, my issue is that I'm trying to connect to a server through a TcpClient using a socks 5 proxy</p>
  
  <p>My current setup is:</p>
  
  <pre><code>        Client = new TcpClient();
          Client.Connect(EndPoint);
          NetworkStream = Client.GetStream();
          Stream = new new BufferedStream(NetworkStream);
          Stream.Write...//Write Packet information etc
  </code></pre>
  
  <p>I'm not sure if I've missed any information out so if I have I'll happily update this.</p>