Hkeylocalmachine Software Clients Mail Default Program
Supporting Shell Applications Registering Programs with Client. Used as the default. HKEY_LOCAL_MACHINE Software. Mail client, the program needs to have.
Default email client depends on the user. HKLM lists all registered email clients; the first one returned may not be the current user's default. Better to read HKEY_CURRENT_USER Software Clients Mail. Also this only gives you the name of the email application. Ruminskij yazik samouchitelj audio skachatj. If you want its executable file name, you have to go on with something like: object mailCommand = Registry.GetValue(@'HKEY_LOCAL_MACHINE SOFTWARE Clients Mail ' + mailClient.ToString() + @' shell open command', ', 'none'); and then remove anything extraneous from the command-line string that you don't need (quotes, parameters).