- UID
- 1050741
- 主题
- 15
- 阅读权限
- 50
- 帖子
- 2293
- 精华
- 0
- 积分
- 1369
- 金钱
- 6651
- 荣誉
- 22
- 人气
- 10
- 在线时间
- 3298 小时
- 评议
- 0
- 帖子
- 2293
- 精华
- 0
- 积分
- 1369
- 金钱
- 6651
- 荣誉
- 22
- 人气
- 10
- 评议
- 0
|
if (String.IsNullOrEmpty(etwPath)) etwPath = (string)Microsoft.Win32.Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 10500", "InstallLocation", "");
if (String.IsNullOrEmpty(etwPath)) etwPath = (string)Microsoft.Win32.Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 10600", "InstallLocation", "");
if (String.IsNullOrEmpty(etwPath)) etwPath = (string)Microsoft.Win32.Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 10500", "InstallLocation", "");
if (String.IsNullOrEmpty(etwPath)) etwPath = (string)Microsoft.Win32.Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 10600", "InstallLocation", "");
这个就是目前PFM获取ETW安装位置的代码~~
可以看到,都是为正版服务的~~
偶想修改一下,让D版也有效~~ |
|