title: Setting "require server name indication" with c# using Microsoft.web.adminsitration
body: <p>Anyone who have some code that shows how the require SNI flag can be set with c# code on IIS website bindings.</p>
  
  <p>I already know how to set the binding :</p>
  
  <pre><code>Binding newBinding = site.Bindings.CreateElement("binding");
  newBinding["bindingInformation"] = bindingsString;
  newBinding["certificateHash"] = certificate.GetCertHashString();
  newBinding["certificateStoreName"] = store.Name;
  newBinding["protocol"] = "https";
  </code></pre>
  
  <p>I am not sure what key I need to set to set the SNI flag.</p>