/// <summary> /// Unlock the file. /// </summary> public void Dispose() { try { _file.Unlock(_offset, _size, false); } catch (ObjectDisposedException) { } }