AWS SDK for .NET Documentation
GetFileSystemInfos Method (searchPattern, searchOption)
AmazonAmazon.S3.IOS3DirectoryInfoGetFileSystemInfos(String, SearchOption) Did this page help you?   Yes   No    Tell us about it...
Returns an array of IS3FileSystemInfos for the files in this directory.
Declaration Syntax
C#
public IS3FileSystemInfo[] GetFileSystemInfos(
	string searchPattern,
	SearchOption searchOption
)
Parameters
searchPattern (String)
The search string. The default pattern is "*", which returns all files.
searchOption (SearchOption)
One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories. The default value is TopDirectoryOnly.
Return Value
An array of files that matches searchPattern and searchOption.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)