SafeFileHandle

SafeFileHandle


Represents a wrapper class for a file handle.


Implements:

IObject 
SafeHandle 

Public:

Properties:

NameDescription
 IsClosed (get) Gets a value indicating whether the handle is closed.  
 IsInvalid (get) Gets a value that indicates whether the handle is invalid.  

Methods:

NameDescription
 CloseHandle 
 DangerousGetHandle Returns the value of the handle field.  
 Equals Returns a boolean indicating if the value and this object instance are the same instance.  
 GetHashCode Returns a pseudo-unique number identifying this instance.  
 ToString Returns a string representation of this object instance.  

See Also

Project CorLib Overview

Class SafeFileHandle Overview