Here is the code:
public string getDefaultMailClient()
{
try
{
object mailClient = Registry.GetValue(
@"HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail", "", "none");
return mailClient.ToString();
}
catch (Exception exGetDefaultMailClient)
{
Util.EscribirLog(exGetDefaultMailClient.Message);
return "Outlook Express";
}
}