SafeEvpPKeyHandle.DuplicateHandle Method

Definition

Creates another instance of this type which has an independent lifetime but tracks the same resource.

public:
 System::Security::Cryptography::SafeEvpPKeyHandle ^ DuplicateHandle();
public System.Security.Cryptography.SafeEvpPKeyHandle DuplicateHandle ();
member this.DuplicateHandle : unit -> System.Security.Cryptography.SafeEvpPKeyHandle
Public Function DuplicateHandle () As SafeEvpPKeyHandle

Returns

Another instance of this type which has an independent lifetime but tracks the same resource.

Exceptions

This handle is invalid.

Applies to

See also