Поделиться через


Элементы HttpClientConnection

Contains properties and methods that enable a package to access a Web server using the HTTP protocol to send or receive files. This class cannot be inherited.

Тип HttpClientConnection предоставляет доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод HttpClientConnection Initializes a new instance of the HttpClientConnection class.

В начало

Методы

  Имя Описание
Открытый метод Clone Returns a new connection object that has the exact same state as the one being cloned.
Открытый метод DownloadData Returns a byte array that contains the data downloaded from the resource that was specified in the ServerURL property.
Открытый метод DownloadFile Downloads data from the resource specified by ServerURL property to a local file.
Открытый метод Equals Determines whether two object instances are equal. (Наследуется из DtsObject.)
Защищенный метод Finalize (Наследуется из Object.)
Открытый метод GetHashCode Returns the hash code for this instance. (Наследуется из DtsObject.)
Открытый метод GetProxyPassword Gets the proxy password.
Открытый метод GetServerPassword Gets the server password.
Открытый метод GetType (Наследуется из Object.)
Открытый метод LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Защищенный метод MemberwiseClone (Наследуется из Object.)
Открытый метод OpenRead Opens a readable stream for the data to be downloaded from the resource specified by the ServerURL property.
Открытый метод SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Открытый метод ShowCertificateDialog Displays the Windows certificate information dialog box.
Открытый метод ToString (Наследуется из Object.)

В начало

Свойства

  Имя Описание
Открытое свойство BypassProxyOnLocal Gets or sets a Boolean that indicates if the proxy server is configured to use credentials and bypass the proxy server and use local addresses instead.
Открытое свойство Certificate Gets or sets a byte array that represents the actual X.509 binary encoding of the certificate.
Открытое свойство CertificateIdentifier Gets or sets the X.509 certificate identifier.
Открытое свойство ChunkSize Gets or sets the value that indicates the minimum number of bytes to retrieve from or send to the server during a read/write operation.
Открытое свойство ProxyBypassList Gets or sets the addresses that do not use a proxy server.
Открытое свойство ProxyDomain Gets or sets the domain setting that is used to log on to the proxy.
Открытое свойство ProxyPassword Returns the password used to log on to the proxy. This property is read-only.
Открытое свойство ProxyURL Gets or sets the URL that specifies the location of the proxy.
Открытое свойство ProxyUserName Gets or sets the username that is used when logging on to the proxy.
Открытое свойство ServerDomain Gets or sets the domain used to log on to the server.
Открытое свойство ServerPassword Sets the password used to log on to the server. This property is write-only.
Открытое свойство ServerURL Gets or sets the URL that specifies the location of the server.
Открытое свойство ServerUserName Gets or sets the username used to log on to the server.
Открытое свойство Timeout Gets or sets the number of seconds after which the HTTP operation times out.
Открытое свойство UseProxy Gets or sets a Boolean that indicates whether or not the connection will use a proxy.
Открытое свойство UseProxyCredentials Gets or sets a Boolean that indicates whether or not the connection will use network credentials.
Открытое свойство UseSecureConnection Gets or sets a Boolean that indicates whether the connection is HTTPS or HTTP.
Открытое свойство UseServerCredentials Gets or sets a Boolean that indicates whether the connection uses network credentials.

В начало