????????????д64λ????????????
???????????? ???????[ 2014/2/11 15:25:21 ] ????????Web???? ????????? ????
??????Web?????????????????????????????С? ????Щ?????????????????? ??????????????????? ??????????????????????á?
??????????????????C#??????β???????? ???????β???64λ?????????????
?????????
??????????????????????????
????Windows??????
????C#???????
????32λ??????64λ?????????????
????C#???????64λ????????????
??????????????????????????
???????????????????磺IE???????????????????С? ??????ó???????????????????С? ??????????????????????????????????
????Windows??????
????????????? C:Windows
egedit.exe?? ???????????У?????”regedit”. ????????????????
?????????????????????????????ɡ? ?????
?????????е??HKEY_CURRENT_USER??HKEY_LOCAL_MACHINE?е??????????????????????????????????????á?
????C#???????
????C#??????????????????????? using Microsoft.Win32; ???д??????? ???????????? ?????????????????????????
static void Main(string[] args)
{
// ????? ???IE???
RegistryKey localMachine = Registry.CurrentUser;
RegistryKey sougou = localMachine.OpenSubKey(@"SOFTWAREMicrosoftInternet ExplorerMAIN"?? true);
// ???IE ?????
string version = sougou.GetValue("Start Page").ToString();
// ???IE?????
sougou.SetValue("Start Page"?? "http://www.cnblogs.com/"?? RegistryValueKind.String);
// ???Tanktest?????? ?粻??????????TankTest??
sougou.SetValue("TankTest2"?? "1"?? RegistryValueKind.DWord);
// ??????
sougou.DeleteValue("TankTest2");
// ??????
sougou.CreateSubKey("This is subkey1");
sougou.CreateSubKey("This is subkey2");
// ??????
sougou.DeleteSubKey("This is subkey1");
}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11