namespace Microsoft.Win32.SafeHandles {
public abstract class SafeNCryptHandle : SafeHandleZeroOrMinusOneIsInvalid {
protected SafeNCryptHandle();
protected SafeNCryptHandle(IntPtr handle, SafeHandle parentHandle);
- public override bool IsInvalid { get; }
}
public sealed class SafeNCryptKeyHandle : SafeNCryptHandle {
public SafeNCryptKeyHandle();
public SafeNCryptKeyHandle(IntPtr handle, SafeHandle parentHandle);
}
public sealed class SafeNCryptProviderHandle : SafeNCryptHandle {
public SafeNCryptProviderHandle();
}
public sealed class SafeNCryptSecretHandle : SafeNCryptHandle {
public SafeNCryptSecretHandle();
}
}