public void Dispose() { if (_pipeline != null) { _pipeline.Dispose(); } if (_stream != null) { _stream.Dispose(); } }
public void Dispose() { if (_pipeline != null) { _pipeline.Dispose(); } if (_stream != null) { try { _stream.Close(); } catch { } try { _stream.Dispose(); } catch { } } }
public void Dispose() { _pipeline?.Dispose(); _stream?.Dispose(); }