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

Microsoft.Win32.SafeHandles.SafeNCryptHandle

public abstract class SafeNCryptHandle : SafeHandleZeroOrMinusOneIsInvalid
Provides a safe handle that can be used by Cryptography Next Generation (CNG) objects.
namespace Microsoft.Win32.SafeHandles { public abstract class SafeNCryptHandle : SafeHandleZeroOrMinusOneIsInvalid { protected SafeNCryptHandle(); protected SafeNCryptHandle(IntPtr handle, SafeHandle parentHandle); protected abstract bool ReleaseNativeHandle(); } }