You are currently browsing legacy 3.0 version of documentation. Click here to switch to the newest 4.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub

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"
	});