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

Public Member Functions

 SafeNCryptHandle ()
 
IntPtr DangerousGetHandle ()
 
void Close ()
 
void Dispose ()
 
void SetHandleAsInvalid ()
 
void DangerousAddRef (ref bool success)
 
void DangerousRelease ()
 
IntPtr DangerousGetHandle ()
 
void Close ()
 
void Dispose ()
 
void SetHandleAsInvalid ()
 
void DangerousAddRef (ref bool success)
 
void DangerousRelease ()
 

Protected Member Functions

override bool ReleaseHandle ()
 
 SafeNCryptHandle ()
 
 SafeNCryptHandle (IntPtr handle, SafeHandle parentHandle)
 
override bool ReleaseHandle ()
 
bool ReleaseNativeHandle ()
 
virtual void Dispose (bool disposing)
 

Protected Attributes

IntPtr handle
 
IntPtr handle
 

Package Functions

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

Properties

override bool IsInvalid [get]
 
SafeNCryptHandleHolder [get, set]
 
bool OwnsHandle [get]
 
bool IsClosed [get]
 
bool OwnsHandle [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 6 of file SafeNCryptHandle.cs.


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