HttpClient Constructor
|
Initializes a new instance of the HttpClient class. |
CloseStreamsAfterTransfer | If true then streams are closed after a transfer has completed. |
ControlPort | The port on the server to which to connect to. |
Cookies | Stores any cookies returned by the server |
CountBeforeSleep | Number of transfers before going to sleep |
DataEncoding | The encoding to use for data when transferring in ASCII mode. |
DeleteOnFailure | Controls whether or not a file is deleted when a failure occurs. |
DetectTransferMode | If set to true, the transfer mode in operations involving multiple files is automatically changed between ASCII and binary as appropriate. |
IsConnected | Indicates whether the client is currently connected with the server. |
LicenseKey | The license key string. |
LicenseOwner | The license owner string. |
Password | Password to user (if required) |
ProxySettings | Settings for using proxies. |
RemoteHost | The domain-name or IP address of the HTTP server. |
ShowHiddenFiles | Include hidden files in operations that involve listing of directories, and if supported by the server. Not applicable for HTTP. |
SleepEnabled | Enabling or not of sleeping after a certain number of transfers |
SleepTime | Number of seconds spent asleep |
SocksContext | Obsolete. Not applicable for HTTP. SOCKS proxies are not supported. |
Timeout | Timeout on the requests in milliseconds. |
TransferBufferSize | The size of the buffers (in bytes) used in writing to and reading from the data-sockets. |
TransferNotifyInterval | The number of bytes transferred between each notification of the BytesTransferred event. |
TransferType | The current file transfer type (BINARY or ASCII). |
UserAgent | User agent for HTTP requests |
UserName | User name to use (if required) |
CancelResume | Cancel the resume. Use this method if something goes wrong and the client is left in an inconsistent state |
CancelTransfer | Cancels the current transfer. |
CdUp | Change the remote working directory to the parent directory. |
ChDir | Change the remote working directory to that supplied. |
Connect | Connect to the HTTP server and verify it is available. |
Delete | Not supported by HTTP |
Dir | Overloaded. List an HTML page's hrefs as an array of strings. |
DirDetails | Overloaded. List the current directory's hrefs as an array of FTPFile objects. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
Exists | |
Get | Overloaded. Get data from the FTP server. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
MkDir | Not supported by HTTP |
ModTime | Get modification time for a remote file. |
MultipleDelete | Overloaded. Delete multiple files in the current remote directory and its subdirectories. |
MultipleDeleteDirectories | Remove a remote directory, and all its files and its subdirectories |
MultipleGet | Overloaded. Get multiple files from the specified remote directory into the specified local directory |
MultiplePut | Overloaded. Put multiple files from the specified local directory into the specified remote directory |
Put | Overloaded. |
Pwd | Get the current remote working directory. |
Quit | Quit the HTTP session. |
QuitImmediately | Quit the FTP session immediately by closing the control socket without sending the QUIT command. |
Rename | Not supported by HTTP |
Resume | Make the next file transfer resume. |
RmDir | Not supported by HTTP |
SetModTime | Not supported by HTTP |
Size | Get the size of a remote file. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Unlock | Unlock the software for use. This method should be used when a configuration file isn't available |
BytesTransferred | Event triggered every time TransferNotifyInterval bytes transferred. |
ParseHtmlLink | If set this event allows customized parsing of HTML links |
TransferCompleteEx | Notifies of the completion of a transfer |
TransferStartedEx | Notifies of the start of a transfer |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
socks | SOCKS settings |