You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Opens a <see cref="SftpFileStream"/> on the specified path with read/write access.
820
+
/// Opens a <see cref="Stream"/> on the specified path with read/write access.
821
821
/// </summary>
822
822
/// <param name="path">The file to open.</param>
823
823
/// <param name="mode">A <see cref="FileMode"/> value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.</param>
824
824
/// <returns>
825
-
/// An unshared <see cref="SftpFileStream"/> that provides access to the specified file, with the specified mode and read/write access.
825
+
/// An unshared <see cref="Stream"/> that provides access to the specified file, with the specified mode and read/write access.
826
826
/// </returns>
827
827
/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception>
828
828
/// <exception cref="SshConnectionException">Client is not connected.</exception>
829
829
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
830
-
SftpFileStreamOpen(stringpath,FileModemode);
830
+
StreamOpen(stringpath,FileModemode);
831
831
832
832
/// <summary>
833
-
/// Opens a <see cref="SftpFileStream"/> on the specified path, with the specified mode and access.
833
+
/// Opens a <see cref="Stream"/> on the specified path, with the specified mode and access.
834
834
/// </summary>
835
835
/// <param name="path">The file to open.</param>
836
836
/// <param name="mode">A <see cref="FileMode"/> value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.</param>
837
837
/// <param name="access">A <see cref="FileAccess"/> value that specifies the operations that can be performed on the file.</param>
838
838
/// <returns>
839
-
/// An unshared <see cref="SftpFileStream"/> that provides access to the specified file, with the specified mode and access.
839
+
/// An unshared <see cref="Stream"/> that provides access to the specified file, with the specified mode and access.
840
840
/// </returns>
841
841
/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception>
842
842
/// <exception cref="SshConnectionException">Client is not connected.</exception>
843
843
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
/// Asynchronously opens a <see cref="SftpFileStream"/> on the specified path, with the specified mode and access.
847
+
/// Asynchronously opens a <see cref="Stream"/> on the specified path, with the specified mode and access.
848
848
/// </summary>
849
849
/// <param name="path">The file to open.</param>
850
850
/// <param name="mode">A <see cref="FileMode"/> value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.</param>
851
851
/// <param name="access">A <see cref="FileAccess"/> value that specifies the operations that can be performed on the file.</param>
852
852
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to observe.</param>
853
853
/// <returns>
854
-
/// A <see cref="Task{SftpFileStream}"/> that represents the asynchronous open operation.
855
-
/// The task result contains the <see cref="SftpFileStream"/> that provides access to the specified file, with the specified mode and access.
854
+
/// A <see cref="Task{Stream}"/> that represents the asynchronous open operation.
855
+
/// The task result contains the <see cref="Stream"/> that provides access to the specified file, with the specified mode and access.
856
856
/// </returns>
857
857
/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception>
858
858
/// <exception cref="SshConnectionException">Client is not connected.</exception>
859
859
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
@@ -1597,72 +1597,72 @@ public DateTime GetLastWriteTimeUtc(string path)
1597
1597
}
1598
1598
1599
1599
/// <summary>
1600
-
/// Opens a <see cref="SftpFileStream"/> on the specified path with read/write access.
1600
+
/// Opens a <see cref="Stream"/> on the specified path with read/write access.
1601
1601
/// </summary>
1602
1602
/// <param name="path">The file to open.</param>
1603
1603
/// <param name="mode">A <see cref="FileMode"/> value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.</param>
1604
1604
/// <returns>
1605
-
/// An unshared <see cref="SftpFileStream"/> that provides access to the specified file, with the specified mode and read/write access.
1605
+
/// An unshared <see cref="Stream"/> that provides access to the specified file, with the specified mode and read/write access.
1606
1606
/// </returns>
1607
1607
/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception>
1608
1608
/// <exception cref="SshConnectionException">Client is not connected.</exception>
1609
1609
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
1610
-
publicSftpFileStreamOpen(stringpath,FileModemode)
1610
+
publicStreamOpen(stringpath,FileModemode)
1611
1611
{
1612
1612
returnOpen(path,mode,FileAccess.ReadWrite);
1613
1613
}
1614
1614
1615
1615
/// <summary>
1616
-
/// Opens a <see cref="SftpFileStream"/> on the specified path, with the specified mode and access.
1616
+
/// Opens a <see cref="Stream"/> on the specified path, with the specified mode and access.
1617
1617
/// </summary>
1618
1618
/// <param name="path">The file to open.</param>
1619
1619
/// <param name="mode">A <see cref="FileMode"/> value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.</param>
1620
1620
/// <param name="access">A <see cref="FileAccess"/> value that specifies the operations that can be performed on the file.</param>
1621
1621
/// <returns>
1622
-
/// An unshared <see cref="SftpFileStream"/> that provides access to the specified file, with the specified mode and access.
1622
+
/// An unshared <see cref="Stream"/> that provides access to the specified file, with the specified mode and access.
1623
1623
/// </returns>
1624
1624
/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception>
1625
1625
/// <exception cref="SshConnectionException">Client is not connected.</exception>
1626
1626
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
/// Asynchronously opens a <see cref="SftpFileStream"/> on the specified path, with the specified mode and access.
1635
+
/// Asynchronously opens a <see cref="Stream"/> on the specified path, with the specified mode and access.
1636
1636
/// </summary>
1637
1637
/// <param name="path">The file to open.</param>
1638
1638
/// <param name="mode">A <see cref="FileMode"/> value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.</param>
1639
1639
/// <param name="access">A <see cref="FileAccess"/> value that specifies the operations that can be performed on the file.</param>
1640
1640
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to observe.</param>
1641
1641
/// <returns>
1642
-
/// A <see cref="Task{SftpFileStream}"/> that represents the asynchronous open operation.
1643
-
/// The task result contains the <see cref="SftpFileStream"/> that provides access to the specified file, with the specified mode and access.
1642
+
/// A <see cref="Task{Stream}"/> that represents the asynchronous open operation.
1643
+
/// The task result contains the <see cref="Stream"/> that provides access to the specified file, with the specified mode and access.
1644
1644
/// </returns>
1645
1645
/// <exception cref="ArgumentNullException"><paramref name="path"/> is <see langword="null"/>.</exception>
1646
1646
/// <exception cref="SshConnectionException">Client is not connected.</exception>
1647
1647
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception>
0 commit comments