Gets a value indicating whether the handle is closed.
Assemblies: mscorlib (in mscorlib.dll)
System.Runtime.Handles (in System.Runtime.Handles.dll)
The method returns a value indicating whether the SafeHandle object's handle is no longer associated with a native resource. This differs from the definition of the IsInvalid property, which computes whether a given handle is always considered invalid. The method returns a true value in the following cases: