private void CloseFileHandle() { if (_fileHandle != null && !_fileHandle.IsInvalid) { _fileHandle.Close(); } }
protected virtual void Dispose(bool disposing) { if (disposing) { if (_fileHandle != null && !_fileHandle.IsInvalid) { _fileHandle.Close(); } } }