An NDoc Documented Class Library

HttpClient Properties

The properties of the HttpClient class are listed below. For a complete list of HttpClient class members, see the HttpClient Members topic.

Public Instance Properties

CloseStreamsAfterTransfer If true then streams are closed after a transfer has completed.
ControlPort The port on the server to which to connect to.
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.
HttpMethod HTTP method to use - GET is the default
HttpParameters Holds the HTTP parameters to be used for the next operation. These should be cleared if no parameters are to be used.
IsConnected Indicates whether the client is currently connected with the server.
LastBytesTransferred The number of bytes transferred in the last transfer operation.
LastFileTransferred The remote name/path of the last file transferred.
LicenseKey The license key string.
LicenseOwner The license owner string.
MaxTransferRate The maximum transfer rate in bytes per sec
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
SocksContextObsolete. 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.
TransferNotifyListings By default the BytesTransferred event is not triggered during directory listings - this property can be used to enable this behaviour.
TransferTypeThe current file transfer type (BINARY or ASCII).
UserAgent User agent for HTTP requests
UserName User name to use (if required)
WelcomeMessage Returns nothing since HTTP doesn't inherently support welcome messages.

See Also

HttpClient Class | EnterpriseDT.Net.Ftp.Http Namespace