Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle Class Reference

Public Member Functions

 SafeNCryptKeyHandle ()
 
 SafeNCryptKeyHandle (IntPtr handle, SafeHandle parentHandle)
 
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 ReleaseNativeHandle ()
 
override bool ReleaseHandle ()
 
override bool ReleaseHandle ()
 
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

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

Detailed Description

Definition at line 3 of file SafeNCryptKeyHandle.cs.


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