public void Close() { if (contentFile != null) { contentFile.Close(); contentFile = null; } }
public override void Dispose() { if (Stream != null) { Stream.Close(); Stream.Dispose(); Stream = null; } }