From 94d02306087085aabadb8700a3ddaa908f92408b Mon Sep 17 00:00:00 2001 From: Gert Driesen Date: Fri, 3 Feb 2017 16:12:41 +0100 Subject: [PATCH] Removed IsAsync property. --- src/Renci.SshNet/Sftp/SftpFileStream.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Renci.SshNet/Sftp/SftpFileStream.cs b/src/Renci.SshNet/Sftp/SftpFileStream.cs index 50eb4ee2..a9f83eb7 100644 --- a/src/Renci.SshNet/Sftp/SftpFileStream.cs +++ b/src/Renci.SshNet/Sftp/SftpFileStream.cs @@ -15,7 +15,6 @@ namespace Renci.SshNet.Sftp // Internal state. private byte[] _handle; private readonly bool _ownsHandle; - private readonly bool _isAsync; private ISftpSession _session; // Buffer information. @@ -141,20 +140,6 @@ namespace Renci.SshNet.Sftp } } - /// - /// Gets a value indicating whether the FileStream was opened asynchronously or synchronously. - /// - /// - /// true if this instance is async; otherwise, false. - /// - public virtual bool IsAsync - { - get - { - return _isAsync; - } - } - /// /// Gets the name of the path that was used to construct the current . /// @@ -205,7 +190,6 @@ namespace Renci.SshNet.Sftp // Initialize the object state. _session = session; _ownsHandle = true; - _isAsync = useAsync; _bufferPosition = 0; _bufferLen = 0; _bufferOwnedByWrite = false;