你可以从中获取什么REGKEY的默认浏览器应用程序的路径?
What RegKey can you get the default browser application's path from?
最好的方式得到它从C#/。NET?
Best way to get to it from C#/.NET?
下面是你想要的关键是:
Here's the key you want:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Classes下\ HTTP \壳\开放\命令
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\command
这里有一个快速注册教程C#,如果你需要它。
And here's a quick registry tutorial for C#, if you need it.
修改
对于每个用户设置,使用此键:
For per-user settings, use this key:
HKEY_CLASSES_ROOT \ HTTP \壳\开放\命令
HKEY_CLASSES_ROOT\http\shell\open\command
(HKCR同时具有计算机和用户设置,用户优先级)。
(HKCR has both machine and user settings, user takes priority).
请注意,这可能无法在Vista上工作。欲了解更多信息,see这里。
Note that this might not work on Vista. For more info, see here.
上一篇:最好的方式来等待TcpClient的数据变为可用?最好的、方式、数据、TcpClient
下一篇:Silverlight的:无效的属性类型的TargetType =" {X:类型的TextBlock}"类型、属性、Silverlight、TextBlock