C# 클래스 KeePassLib.Serialization.IOConnection

파일 보기 프로젝트 열기: cappert/keepass2 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AcceptCertificate bool
AssignCredentials void
ConfigureWebClient void
ConfigureWebRequest void
CreateWebClient IOWebClient
CreateWebRequest System.Net.WebRequest
DisposeResponse void
GetWebProxy bool
GetWebProxyServer bool
IsFileWebRequest bool
IsFtpWebRequest bool
IsHttpWebRequest bool
IsHttpWebRequest bool
OpenReadLocal Stream
OpenWriteLocal Stream
PrepareWebAccess void
RaiseIOAccessPreEvent void
RaiseIOAccessPreEvent void
SendCommand bool
SetProxy void

공개 메소드들

메소드 설명
DeleteFile ( IOConnectionInfo ioc ) : void
FileExists ( IOConnectionInfo ioc ) : bool
FileExists ( IOConnectionInfo ioc, bool bThrowErrors ) : bool
OpenRead ( IOConnectionInfo ioc ) : Stream
OpenWrite ( IOConnectionInfo ioc ) : Stream
ReadFile ( IOConnectionInfo ioc ) : byte[]
RenameFile ( IOConnectionInfo iocFrom, IOConnectionInfo iocTo ) : void

Rename/move a file. For local file system and WebDAV, the specified file is moved, i.e. the file destination can be in a different directory/path. In contrast, for FTP the file is renamed, i.e. its destination must be in the same directory/path.

비공개 메소드들

메소드 설명
AcceptCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
AssignCredentials ( IWebProxy prx ) : void
ConfigureWebClient ( WebClient wc ) : void
ConfigureWebRequest ( WebRequest request, IOConnectionInfo ioc ) : void
CreateWebClient ( IOConnectionInfo ioc ) : IOWebClient
CreateWebRequest ( IOConnectionInfo ioc ) : WebRequest
DisposeResponse ( WebResponse wr, bool bGetStream ) : void
GetWebProxy ( IWebProxy &prx ) : bool
GetWebProxyServer ( IWebProxy &prx ) : bool
IsFileWebRequest ( WebRequest wr ) : bool
IsFtpWebRequest ( WebRequest wr ) : bool
IsHttpWebRequest ( Uri uri ) : bool
IsHttpWebRequest ( WebRequest wr ) : bool
OpenReadLocal ( IOConnectionInfo ioc ) : Stream
OpenWriteLocal ( IOConnectionInfo ioc ) : Stream
PrepareWebAccess ( IOConnectionInfo ioc ) : void
RaiseIOAccessPreEvent ( IOConnectionInfo ioc, IOAccessType t ) : void
RaiseIOAccessPreEvent ( IOConnectionInfo ioc, IOConnectionInfo ioc2, IOAccessType t ) : void
SendCommand ( IOConnectionInfo ioc, string strMethod ) : bool
SetProxy ( ProxyServerType pst, string strAddr, string strPort, ProxyAuthType pat, string strUserName, string strPassword ) : void

메소드 상세

DeleteFile() 공개 정적인 메소드

public static DeleteFile ( IOConnectionInfo ioc ) : void
ioc IOConnectionInfo
리턴 void

FileExists() 공개 정적인 메소드

public static FileExists ( IOConnectionInfo ioc ) : bool
ioc IOConnectionInfo
리턴 bool

FileExists() 공개 정적인 메소드

public static FileExists ( IOConnectionInfo ioc, bool bThrowErrors ) : bool
ioc IOConnectionInfo
bThrowErrors bool
리턴 bool

OpenRead() 공개 정적인 메소드

public static OpenRead ( IOConnectionInfo ioc ) : Stream
ioc IOConnectionInfo
리턴 Stream

OpenWrite() 공개 정적인 메소드

public static OpenWrite ( IOConnectionInfo ioc ) : Stream
ioc IOConnectionInfo
리턴 Stream

ReadFile() 공개 정적인 메소드

public static ReadFile ( IOConnectionInfo ioc ) : byte[]
ioc IOConnectionInfo
리턴 byte[]

RenameFile() 공개 정적인 메소드

Rename/move a file. For local file system and WebDAV, the specified file is moved, i.e. the file destination can be in a different directory/path. In contrast, for FTP the file is renamed, i.e. its destination must be in the same directory/path.
public static RenameFile ( IOConnectionInfo iocFrom, IOConnectionInfo iocTo ) : void
iocFrom IOConnectionInfo Source file path.
iocTo IOConnectionInfo Target file path.
리턴 void