Метод | Описание | |
---|---|---|
FlushInBrowser ( string fileName, byte fileData, FlushType flushType = FlushType.Attachment ) : void |
Flushes the fileData into the user's browser. It's designed for the ASP.NET Applications.
|
Метод | Описание | |
---|---|---|
addHeaders ( string fileName, long fileLength, object response, FlushType flushType ) : void | ||
clearResponse ( object response ) : void | ||
getCurrentHttpContext ( ) : object | ||
getCurrentResponse ( object context ) : object | ||
responseEnd ( object response ) : void | ||
setBufferTrue ( object response ) : void | ||
setContentType ( object response ) : void | ||
setNoCache ( object response ) : void | ||
writeToOutputStream ( byte fileData, int fileLength, object response ) : void |
public static FlushInBrowser ( string fileName, byte fileData, FlushType flushType = FlushType.Attachment ) : void | ||
fileName | string | name of the file |
fileData | byte | byte array containing the file's data |
flushType | FlushType | How to flush an in memory PDF file |
Результат | void |