DropboxClient.GetFileContentAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get file content
public virtual System.Threading.Tasks.Task<byte[]> GetFileContentAsync(string file, bool? inferContentType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFileContentAsync : string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
override this.GetFileContentAsync : string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Overridable Function GetFileContentAsync (file As String, Optional inferContentType As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())
Parameters
- file
- String
File
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Get file content response.
Remarks
This operation gets the content of a file.