Controller.File Method (Stream, String)
Creates a FileStreamResult object by using the Stream object and content type.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- fileStream
- Type: System.IO.Stream
The stream to send to the response.
- contentType
- Type: System.String
The content type (MIME type).
Show: