SafeNCryptHandle.ReleaseNativeHandle Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Releases a native handle used by a Cryptography Next Generation (CNG) object.

Namespace:   Microsoft.Win32.SafeHandles
Assembly:  System.Core (in System.Core.dll)

protected abstract bool ReleaseNativeHandle()

Return Value

Type: System.Boolean

true if the handle is released successfully; otherwise, false.

.NET Framework
Available since 3.5
Return to top