W jaki sposób pobrać ścieżkę domyślnej przeglądarki w c# ??
Mam taką metodę:
static private string GetDefaultBrowserPath()
{
string key = @"htmlfile\shell\open\command";
RegistryKey registryKey = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey(key, false);
return ((string)registryKey.GetValue(null, null)).Split('"')[1];
}
ale zwraca ona Iexplore.exe a domyślnego mam firefoxa...