Closed Kyrodan closed 8 years ago
Same for UploadItem.
Maybe these overloaded "Shortcut-Methods" should be moved to to Extension Methods. Only basic methods should be left in the API-Class.
Good point. I've added a new method which returns a stream with the OneDrive contents. For backwards compatibility and because I do believe that saving the contents to disk is core functionality, I will leave the current methods in place.
The methods "DownloadItem" always save to a local file. In many situations it's better to download to a stream (Parameter stream) and handle subsequent operations from "outside" (the method caller side).