Свойство | Type | Description | |
---|---|---|---|
AcceptCertificate | bool | ||
AssignCredentials | void | ||
ConfigureWebClient | void | ||
ConfigureWebRequest | void | ||
CreateWebClient | |||
CreateWebRequest | |||
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 |
Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
AcceptCertificate ( object sender, |
||
AssignCredentials ( IWebProxy prx ) : void | ||
ConfigureWebClient ( |
||
ConfigureWebRequest ( |
||
CreateWebClient ( IOConnectionInfo ioc ) : |
||
CreateWebRequest ( IOConnectionInfo ioc ) : |
||
DisposeResponse ( |
||
GetWebProxy ( IWebProxy &prx ) : bool | ||
GetWebProxyServer ( IWebProxy &prx ) : bool | ||
IsFileWebRequest ( |
||
IsFtpWebRequest ( |
||
IsHttpWebRequest ( |
||
IsHttpWebRequest ( |
||
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 |
public static DeleteFile ( IOConnectionInfo ioc ) : void | ||
ioc | IOConnectionInfo | |
Résultat | void |
public static FileExists ( IOConnectionInfo ioc ) : bool | ||
ioc | IOConnectionInfo | |
Résultat | bool |
public static FileExists ( IOConnectionInfo ioc, bool bThrowErrors ) : bool | ||
ioc | IOConnectionInfo | |
bThrowErrors | bool | |
Résultat | bool |
public static OpenRead ( IOConnectionInfo ioc ) : Stream | ||
ioc | IOConnectionInfo | |
Résultat | Stream |
public static OpenWrite ( IOConnectionInfo ioc ) : Stream | ||
ioc | IOConnectionInfo | |
Résultat | Stream |
public static ReadFile ( IOConnectionInfo ioc ) : byte[] | ||
ioc | IOConnectionInfo | |
Résultat | byte[] |
public static RenameFile ( IOConnectionInfo iocFrom, IOConnectionInfo iocTo ) : void | ||
iocFrom | IOConnectionInfo | Source file path. |
iocTo | IOConnectionInfo | Target file path. |
Résultat | void |