Method
HttpFileServerHandler.ServeDirectoryListing
ServeDirectoryListing(DirectoryInfo, HttpRequest) #
Generates an HTML directory listing for the specified directory and returns it as an HTTP response.
protected virtual HttpResponse ServeDirectoryListing(DirectoryInfo directory, HttpRequest request)Parameters #
directory DirectoryInfo
The directory whose contents will be listed.
request HttpRequest
The current HTTP request.
Returns #
An HttpResponse containing the HTML directory listing.