38 references to CreateSubKey
mscorlib (22)
microsoft\win32\registry.cs (1)
175RegistryKey key = basekey.CreateSubKey(subKeyName);
system\runtime\interopservices\registrationservices.cs (21)
381using (RegistryKey RecordRootKey = Registry.ClassesRoot.CreateSubKey(strRecordRootName)) 384using (RegistryKey RecordKey = RecordRootKey.CreateSubKey(strRecordId)) 387using (RegistryKey RecordVersionKey = RecordKey.CreateSubKey(strAsmVersion)) 427using (RegistryKey TypeNameKey = Registry.ClassesRoot.CreateSubKey(strProgId)) 432using (RegistryKey ProgIdClsIdKey = TypeNameKey.CreateSubKey("CLSID")) 440using (RegistryKey ClsIdRootKey = Registry.ClassesRoot.CreateSubKey(strClsIdRootName)) 443using (RegistryKey ClsIdKey = ClsIdRootKey.CreateSubKey(strClsId)) 448using (RegistryKey InProcServerKey = ClsIdKey.CreateSubKey("InprocServer32")) 459using (RegistryKey VersionSubKey = InProcServerKey.CreateSubKey(strAsmVersion)) 471using (RegistryKey ProgIdKey = ClsIdKey.CreateSubKey("ProgId")) 479using (RegistryKey CategoryKey = ClsIdKey.CreateSubKey(strImplementedCategoriesSubKey)) 481using (RegistryKey ManagedCategoryKey = CategoryKey.CreateSubKey(strManagedCategoryGuid)) {} 503using (RegistryKey ClsIdRootKey = Registry.ClassesRoot.CreateSubKey(strClsIdRootName)) 506using (RegistryKey ClsIdKey = ClsIdRootKey.CreateSubKey(strClsId)) 509using (RegistryKey InProcServerKey = ClsIdKey.CreateSubKey("InprocServer32")) 525using (RegistryKey VersionSubKey = InProcServerKey.CreateSubKey(strAsmVersion)) 878using (RegistryKey TypeLibRootKey = Registry.ClassesRoot.CreateSubKey(strTlbRootName)) 881using (RegistryKey TypeLibKey = TypeLibRootKey.CreateSubKey(strTlbId)) 884using (RegistryKey VersionSubKey = TypeLibKey.CreateSubKey(strVersion)) 948using (RegistryKey ComponentCategoryKey = Registry.ClassesRoot.CreateSubKey(strComponentCategorySubKey)) 951using (RegistryKey ManagedCategoryKey = ComponentCategoryKey.CreateSubKey(strManagedCategoryGuid))
PresentationFramework (5)
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
224key = plugIns.CreateSubKey(keyName);
src\Framework\System\Windows\Documents\Serialization\SerializerProvider.cs (4)
71RegistryKey plugIns = _rootKey.CreateSubKey(_registryPath); 112RegistryKey plugIns = _rootKey.CreateSubKey(_registryPath); 120RegistryKey newPlugIn = plugIns.CreateSubKey(serializerKey); 148RegistryKey plugIns = _rootKey.CreateSubKey(_registryPath);
System (5)
services\monitoring\system\diagnosticts\EventLog.cs (3)
489logKey = eventKey.CreateSubKey(logName); 503sourceLogKey = logKey.CreateSubKey(logName); 529sourceKey = logKey.CreateSubKey(source);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (2)
465serviceKey = serviceParentKey.CreateSubKey(categoryName + "\\Performance"); 483linkageKey = serviceParentKey.CreateSubKey(categoryName + "\\Linkage" );
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Application.cs (2)
182return Registry.LocalMachine.CreateSubKey(CommonAppDataRegistryKeyName); 723return Registry.CurrentUser.CreateSubKey(string.Format(CultureInfo.CurrentCulture, template, CompanyName, ProductName, ProductVersion));
System.Workflow.Activities (1)
Common\CompModHelpers.cs (1)
844RegistryKey referenceKey = Registry.CurrentUser.CreateSubKey(TypeProviderRegistryKeyPath);
System.Workflow.ComponentModel (3)
AuthoringOM\Design\Themes.cs (1)
384RegistryKey themeKey = Registry.CurrentUser.CreateSubKey(WorkflowTheme.RegistryKeyPath);
AuthoringOM\Design\WorkflowPrinting.cs (1)
487RegistryKey key = Registry.CurrentUser.CreateSubKey(WinOEPrintingSubKey);
Shared\CompModHelpers.cs (1)
842RegistryKey referenceKey = Registry.CurrentUser.CreateSubKey(TypeProviderRegistryKeyPath);