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