The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Microsoft.Win32.SafeHandles Namespace
Visual Studio 2008
The Microsoft.Win32.SafeHandles namespace contains classes that are abstract derivations of safe handle classes that provide common functionality supporting file and operating system handles.
These classes are derived from the System.Runtime.InteropServices::SafeHandle and System.Runtime.InteropServices::CriticalHandle classes.
| Class | Description | |
|---|---|---|
![]() | CriticalHandleMinusOneIsInvalid | Provides a base class for Win32 critical handle implementations in which the value of -1 indicates an invalid handle. |
![]() | CriticalHandleZeroOrMinusOneIsInvalid | Provides a base class for Win32 critical handle implementations in which the value of either 0 or -1 indicates an invalid handle. |
![]() | SafeFileHandle | Represents a wrapper class for a file handle. |
![]() | SafeHandleMinusOneIsInvalid | Provides a base class for Win32 safe handle implementations in which the value of -1 indicates an invalid handle. |
![]() | SafeHandleZeroOrMinusOneIsInvalid | Provides a base class for Win32 safe handle implementations in which the value of either 0 or -1 indicates an invalid handle. |
![]() | SafeNCryptHandle | Infrastructure. Provides a safe handle that can be used by Cryptography Next Generation (CNG) objects. |
![]() | SafeNCryptKeyHandle | Provides a safe handle that represents a key (NCRYPT_KEY_HANDLE). |
![]() | SafeNCryptProviderHandle | Provides a safe handle that represents a key storage provider (NCRYPT_PROV_HANDLE). |
![]() | SafeNCryptSecretHandle | Provides a safe handle that represents a secret agreement value (NCRYPT_SECRET_HANDLE). |
![]() | SafePipeHandle | Represents a wrapper class for a pipe handle. |
![]() | SafeWaitHandle | Represents a wrapper class for a wait handle. |
Community Additions
Show:
