|
FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
|
Defines a named stream used for file transfer. More...


Public Member Functions | |
| FileTransferStream (string name, Stream stream) | |
| Initializes a new instance of the FileTransferStream class. | |
| void | Dispose () |
Static Public Member Functions | |
| static ValueResult< FileTransferStream > | FromInfoProvider (IFileInfoProvider fileInfoProvider, string path) |
| Creates a FileTransferStream from a file path using the provided file information provider. | |
Properties | |
| Stream | Stream [get] |
| Gets the file content stream. | |
| string | Name [get] |
| Gets the file name associated with Stream. | |
Defines a named stream used for file transfer.
|
inline |
Initializes a new instance of the FileTransferStream class.
| name | File name associated with the transfer stream. |
| stream | Open stream containing file content. |

|
inline |

|
inlinestatic |
Creates a FileTransferStream from a file path using the provided file information provider.
| fileInfoProvider | File information provider used to open the file stream and resolve its name. |
| path | Absolute or provider-relative path to the file. |

|
get |
Gets the file name associated with Stream.
|
get |
Gets the file content stream.