protected void Dispose(bool disposing) {
if (!disposed) {
if (disposing) {
// Dispose of any managed resources of the derived class here.
EnableEvents = false;
FsStream.Invalidate();
StopRunLoop = true;
RunLoopThread.Join();
disposed = true;
}
// Dispose of any unmanaged resources of the derived class here.
}
}