RegistryKey regKey = Registry.ClassesRoot ;
RegistryKey regSubKey = regKey.OpenSubKey("*\\shell\\UnZip\\Command");
if (regSubKey == null)
{
regSubKey = regKey.CreateSubKey("*\\shell\\UnZip\\Command");
//string str = (string)regSubKey.GetValue("(標準)");
}我创建了("*\\shell\\UnZip\\Command)键后,它默认有个“(標準)”key,值未设置,
我怎么样给这个“(標準)”key设值呢?
RegistryKey regSubKey = regKey.OpenSubKey("*\\shell\\UnZip\\Command");
if (regSubKey == null)
{
regSubKey = regKey.CreateSubKey("*\\shell\\UnZip\\Command");
//string str = (string)regSubKey.GetValue("(標準)");
}我创建了("*\\shell\\UnZip\\Command)键后,它默认有个“(標準)”key,值未设置,
我怎么样给这个“(標準)”key设值呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货