SharpCifs.Std
SharpCifs.Std copied to clipboard
CancellationToken overload for GetOutputStreamAsync
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);