allowDirectoryListing property

bool allowDirectoryListing
getter/setter pair

Permit listing of directory contents.

If a request arrives for a directory, the default file could not be used (i.e. defaultFilenames is null or a file with any of the names could not be found in the directory), then this member indicates whether a listing of the directory is returned or NotFoundException is raised.

Implementation

bool allowDirectoryListing;