public void Close() { if (fileStream != null) { fileStream.Close(); fileStream = null; } }
public void Open() { if (fileStream == null) { fileStream = new FileDataStream(Path, null); fileStream.Open(); } }