FileResult Properties

The FileResult type exposes the following members.

  Name Description
Public property ContentType Gets the content type to use for the response.
Public property FileDownloadName Gets or sets the content-disposition header so that a file-download dialog box is displayed in the browser with the specified file name.