<PackageReference Include="System.Security.Cryptography.Cng" Version="5.0.0-preview.6.20305.6" />

System.Security.Cryptography.CngUIPolicy

public sealed class CngUIPolicy
Encapsulates optional configuration parameters for the user interface (UI) that Cryptography Next Generation (CNG) displays when you access a protected key.
namespace System.Security.Cryptography { public sealed class CngUIPolicy { public string CreationTitle { get; } public string Description { get; } public string FriendlyName { get; } public CngUIProtectionLevels ProtectionLevel { get; } public string UseContext { get; } public CngUIPolicy(CngUIProtectionLevels protectionLevel); public CngUIPolicy(CngUIProtectionLevels protectionLevel, string friendlyName); public CngUIPolicy(CngUIProtectionLevels protectionLevel, string friendlyName, string description); public CngUIPolicy(CngUIProtectionLevels protectionLevel, string friendlyName, string description, string useContext); public CngUIPolicy(CngUIProtectionLevels protectionLevel, string friendlyName, string description, string useContext, string creationTitle); } }