메소드 | 설명 | |
---|---|---|
CopyAsync ( |
Copies the source stream from its current position to the destination stream at its current position.
|
메소드 | 설명 | |
---|---|---|
DisposeSource ( |
Disposes the source stream if disposeSource is true.
|
|
DisposeSourceWhenCompleteAsync ( Task task, |
public static CopyAsync ( |
||
source | The source stream from which to copy. | |
destination | The destination stream to which to copy. | |
bufferSize | int | The size of the buffer to allocate if one needs to be allocated. |
disposeSource | bool | Whether to dispose of the source stream after the copy has finished successfully. |
cancellationToken | CancellationToken used to cancel the copy operation. | |
리턴 | Task |