title: Enabling encryption in .NET sockets
body: <p>I'm new to C# development.</p>
  
  <p>In PHP we use </p>
  
  <pre><code>stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLS_CLIENT);
  </code></pre>
  
  <p>What is its equivalent in C#?</p>