title: Check default mail client using C# code
body: <p>How to find default mail client using C#? i checked some posted here but it didn't help me..</p>
  
  <p>I used this code</p>
  
  <pre><code>object mailClient = Microsoft.Win32.Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail", "", "none");
  </code></pre>
  
  <p>In my computer both windows live mail and outlook installed and the defualt client is windows live mail however if i print mailclient it will show defualt mail client as outlook.</p>
  
  <p>but if i use <code>System.Diagnostics.Process.Start("mailto:")</code> then it will open in windows live mail which is correct.</p>
  
  <p>i need a method to find defualt client through C# code.....</p>