Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Win32.SafeHandles.DuplicateSafeNCryptKeyHandle Class Referencesealed

Public Member Functions

 DuplicateSafeNCryptKeyHandle (SafeNCryptKeyHandle original)
 
IntPtr DangerousGetHandle ()
 
IntPtr DangerousGetHandle ()
 
void Close ()
 
void Close ()
 
void Dispose ()
 
void Dispose ()
 
void SetHandleAsInvalid ()
 
void SetHandleAsInvalid ()
 
void DangerousAddRef (ref bool success)
 
void DangerousAddRef (ref bool success)
 
void DangerousRelease ()
 
void DangerousRelease ()
 

Protected Member Functions

override bool ReleaseHandle ()
 
override bool ReleaseNativeHandle ()
 
virtual void Dispose (bool disposing)
 

Protected Attributes

IntPtr handle
 
IntPtr handle
 

Package Functions

SafeNCryptKeyHandle Duplicate ()
 
Duplicate< T > ()
 
bool ReleaseNativeWithNCryptFreeObject ()
 
void SetHandle (IntPtr handle)
 
void SetHandle (IntPtr handle)
 

Properties

override bool IsInvalid [get]
 
SafeNCryptHandleHolder [get, set]
 
bool OwnsHandle [get]
 
bool OwnsHandle [get]
 
bool IsClosed [get]
 
bool IsClosed [get]
 

Private Types

enum  OwnershipState { Owner , Duplicate , Holder }
 

Private Member Functions

DuplicateDuplicatedHandle< T > ()
 
DuplicateOwnerHandle< T > ()
 
void InternalRelease (bool disposeOrFinalizeOperation)
 

Private Attributes

readonly SafeNCryptKeyHandle _original
 
OwnershipState _ownershipState
 
SafeNCryptHandle _holder
 
SafeHandle _parentHandle
 
volatile int _state
 
readonly bool _ownsHandle
 
volatile bool _fullyInitialized
 

Detailed Description

Definition at line 6 of file DuplicateSafeNCryptKeyHandle.cs.


The documentation for this class was generated from the following file: