110,533
社区成员
发帖
与我相关
我的任务
分享
RegistryKey Rkey = R.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs");
foreach(var str in Rkey.GetSubKeyNames())
Console.WriteLine(str);
[assembly:RegistryPermissionAttribute(SecurityAction.RequestMinimum,
Read="HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs")]
RegistryKey registry=Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\.cs");
RegistryKey Rkey = R.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RecentDocs");
string value = recentsDocs.GetValue("ViewStream");