Commands: BrowseAsync

The BrowseAsync method is used to scan a file system for existing files.


Task<FileHeader[]> BrowseAsync(int start = 0, int pageSize = 1024);
start int The number of files that will be skipped
pageSize int The maximum number of file headers that will be retrieved (default: 1024)

Return Value
Task<FileHeader[]> A task that represents the asynchronous browse operation. The task result is the array of FileHeaders.


start = 0;
pageSize = 10;
FileHeader[] fileHeaders;

	fileHeaders = await store
		.BrowseAsync(start, pageSize);

	start += pageSize;

} while (fileHeaders.Length == pageSize);