C# 클래스 csExWB.CustomDownloadRequestEventArgs

상속: System.EventArgs
파일 보기 프로젝트 열기: mcorrientes/Web-Security-Toolset 1 사용 예제들

공개 메소드들

메소드 설명
CancelDownloadRequest ( int Inet_Error_Code ) : void

Call this method to cancel a download request from the CExWb browser control.

Method can be invoked either on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.

CustomDownloadRequestEventArgs ( string protocol, string url, object browser, object sink ) : System
DownloadCompleted ( byte data, string redirectedUrl, string mimeType ) : void

Call this method to transfer the downloaded data and finish the download request. Call can either happen on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.

Method can be invoked either on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.

메소드 상세

CancelDownloadRequest() 공개 메소드

Call this method to cancel a download request from the CExWb browser control.
Method can be invoked either on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.
public CancelDownloadRequest ( int Inet_Error_Code ) : void
Inet_Error_Code int
리턴 void

CustomDownloadRequestEventArgs() 공개 메소드

public CustomDownloadRequestEventArgs ( string protocol, string url, object browser, object sink ) : System
protocol string
url string
browser object
sink object
리턴 System

DownloadCompleted() 공개 메소드

Call this method to transfer the downloaded data and finish the download request. Call can either happen on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.
Method can be invoked either on the same thread as the ProtocolHandlerOnStart event was raised on, or on a backgroud thread. This method can only be invoked once.
public DownloadCompleted ( byte data, string redirectedUrl, string mimeType ) : void
data byte Downloaded data (payload)
redirectedUrl string Url of downloaded data, use to signal redirected downloads
mimeType string Mime type reported by server, leave blank if none
리턴 void