First of all I would need to set the right registry entry before I continue with the code snippet to change my registry entries.
I have tried all I found on internet, and that's why I post here now.
All registry entries are not working which are referred on MSDN. Also changing those won't work:
HKEY_CLASSES_ROOT\http\shell\open\command
HKEY_CLASSES_ROOT\.htm
HKEY_CLASSES_ROOT\.html
HKEY_CLASSES_ROOT\http\shell\open\command
HKEY_CLASSES_ROOT\http\shell\open\ddeexec\Application
HKEY_CLASSES_ROOT\ftp\shell\open\command
HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec\Application
HKEY_CLASSES_ROOT\gopher\shell\open\command
HKEY_CLASSES_ROOT\gopher\shell\open\ddeexec\Application
HKEY_CURRENT_USER\SOFTWARE\Clients\StartMenuInternet
My registry shouldn't know anything about my Mozilla, because I entered my own coded browser at every entry.
Don't know what to do...
After getting the right entries I would use a code snippet like that to add and change the entries:
RegistryKey myKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\\My Registry Key", true);
myKey.SetValue("My String Value", "Test Value", RegistryValueKind.String);
string myValue = (string)myKey.GetValue("My String Value");