C# 클래스 PdfRpt.Core.Helper.SoftHttpContext

This class has not a hard reference to the System.Web assembly. So it can be called from the `.NET client profile` library.
파일 보기 프로젝트 열기: VahidN/PdfReport

공개 메소드들

메소드 설명
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

메소드 상세

FlushInBrowser() 공개 정적인 메소드

Flushes the fileData into the user's browser. It's designed for the ASP.NET Applications.
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