SharpCifs.Std icon indicating copy to clipboard operation
SharpCifs.Std copied to clipboard

CancellationToken overload for GetOutputStreamAsync

Open sanzor opened this issue 3 years ago • 0 comments

Hello i am using SharpCifs and i am encountering problems when for some reason the writing operation blocks and i wanted to know if there is any way for the library to support an overload for GetOutputStreamAsync with a CancellationToken.

Current method:

public static Task<InputStream> GetInputStreamAsync(this SmbFile smbFile);

Desired overload: public static Task<InputStream> GetInputStreamAsync(this SmbFile smbFile,CancellationToken token);

sanzor avatar Aug 05 '20 10:08 sanzor