Share via


RegistryXmlRepository.DefaultRegistryKey Property

Definition

The default key storage directory, which currently corresponds to "HKLM\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys{SID}".

public:
 static property Microsoft::Win32::RegistryKey ^ DefaultRegistryKey { Microsoft::Win32::RegistryKey ^ get(); };
public static Microsoft.Win32.RegistryKey DefaultRegistryKey { get; }
public static Microsoft.Win32.RegistryKey? DefaultRegistryKey { get; }
static member DefaultRegistryKey : Microsoft.Win32.RegistryKey
Public Shared ReadOnly Property DefaultRegistryKey As RegistryKey

Property Value

Remarks

This property can return null if no suitable default registry key can be found, such as the case when this application is not hosted inside IIS.

Applies to