public override long Seek(long offset, SeekOrigin origin) { this.CheckDisposed("Seek"); return(MapiStreamWrapper.CallMapiWithReturnValue <long>("Seek", this, this.session, () => this.mapiStream.Seek(offset, origin))); }
public override int Read(byte[] buffer, int offset, int count) { this.CheckDisposed("Read"); return(MapiStreamWrapper.CallMapiWithReturnValue <int>("Read", this, this.session, () => this.mapiStream.Read(buffer, offset, count))); }