Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Microsoft.Win32.SafeHandles Namespace

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.

  ClassDescription
Public classCriticalHandleMinusOneIsInvalid Provides a base class for Win32 critical handle implementations in which the value of -1 indicates an invalid handle.
Public classCriticalHandleZeroOrMinusOneIsInvalid Provides a base class for Win32 critical handle implementations in which the value of either 0 or -1 indicates an invalid handle.
Public classSafeFileHandle Represents a wrapper class for a file handle.
Public classSafeHandleMinusOneIsInvalid Provides a base class for Win32 safe handle implementations in which the value of -1 indicates an invalid handle.
Public classSafeHandleZeroOrMinusOneIsInvalid Provides a base class for Win32 safe handle implementations in which the value of either 0 or -1 indicates an invalid handle.
Public classSafeNCryptHandleInfrastructure. Provides a safe handle that can be used by Cryptography Next Generation (CNG) objects.
Public classSafeNCryptKeyHandle Provides a safe handle that represents a key (NCRYPT_KEY_HANDLE).
Public classSafeNCryptProviderHandle Provides a safe handle that represents a key storage provider (NCRYPT_PROV_HANDLE).
Public classSafeNCryptSecretHandle Provides a safe handle that represents a secret agreement value (NCRYPT_SECRET_HANDLE).
Public classSafePipeHandle Represents a wrapper class for a file handle.
Public classSafeWaitHandle Represents a wrapper class for a wait handle.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker