title: Run command line code programmatically using C#
body: <p>I'm using this code run in windows command prompt..
  But I need this done programmatically using C# code</p>
  
  <blockquote>
    <p>C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis.exe -pdf "connection
    Strings" "C:\Users\XXX\Desktop\connection string\DNN"</p>
  </blockquote>