FileSystemXmlRepository.DefaultKeyStorageDirectory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The default key storage directory. On Windows, this currently corresponds to "Environment.SpecialFolder.LocalApplication/ASP.NET/DataProtection-Keys". On Linux and macOS, this currently corresponds to "$HOME/.aspnet/DataProtection-Keys".
public:
static property System::IO::DirectoryInfo ^ DefaultKeyStorageDirectory { System::IO::DirectoryInfo ^ get(); };
public static System.IO.DirectoryInfo DefaultKeyStorageDirectory { get; }
public static System.IO.DirectoryInfo? DefaultKeyStorageDirectory { get; }
static member DefaultKeyStorageDirectory : System.IO.DirectoryInfo
Public Shared ReadOnly Property DefaultKeyStorageDirectory As DirectoryInfo
Property Value
Remarks
This property can return null if no suitable default key storage directory can be found, such as the case when the user profile is unavailable.