Commands: GetAsync
GetAsync is used to get the file headers of the selected files.
Syntax
Task<FileHeader[]> GetAsync(string[] filenames);
Parameters | ||
---|---|---|
filenames | string[] | Names of the files you want to get headers for. |
Return Value | |
---|---|
Task<FileHeader[]> | A task that represents the asynchronous get operation. The task result is the array of FileHeaders . |
Example
FileHeader[] icons = await store
.AsyncFilesCommands
.GetAsync(new[]
{
"/images/icons/small/1.png", "/images/icons/large/1.png"
});