The HttpSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HttpSettings |
Initializes a new instance of the HttpSettings class.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
GetPreferredSuites |
Gets collection of TLS cipher suites that are used (in given order) in preference to the remaining suites
specified by SslAllowedSuites.
(Inherited from SslSettings.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetPreferredSuites |
Sets TLS cipher suites to be used in preference to the remaining suites
specified by SslAllowedSuites.
(Inherited from SslSettings.) | |
ToParameters |
Gets an instance of TlsParameters corresponding to these settings.
(Inherited from SslSettings.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AllowRedirectDowngrade |
Gets or sets a value indicating whether redirect downgrade from HTTPS to HTTP is allowed (default is false).
| |
AutoConnectToInternet | The property makes it possible to instruct instances of HttpRequest class created by a HttpRequestCreator to automaticly establishment an Internet connection. Default value of the property is Disabled. Internet connection is not established automatically. After setting this property to Enabled, HttpRequest attempts to establish an Internet connection automatically, although it uses a slightly different method than .NET Compact Framework's WebRequest. See the remarks section for details. | |
HttpSessionCacheEnabled |
Gets or sets a value indicating whether the HTTP session cache is enabled (default is true).
| |
HttpSessionCacheTimeout |
Gets or sets the length of time in milliseconds for caching HTTP sessions (default is 50000 = 50 seconds).
Minimal allowed value is 5000.
| |
SslAcceptAllCertificates |
Specifies whether to accept all server certificates by default. This is strongly discouraged in production environment.
(Inherited from SslSettings.) | |
SslAllowedCurves |
Gets or sets the group of allowed elliptic curves (for ECDHE cipher suites).
(Inherited from SslSettings.) | |
SslAllowedSuites |
Gets or sets the group of allowed TLS/SSL cipher suites.
(Inherited from SslSettings.) | |
SslAllowedVersions |
Gets or sets allowed TLS/SSL versions.
(Inherited from SslSettings.) | |
SslAllowVulnerableSuites |
Gets or sets a value indicating whether vulnerable ciphers
might be enabled using SslAllowedSuites property.
(Inherited from SslSettings.) | |
SslClientCertificateRequestHandler |
Gets or sets TLS/SSL client certificate request handler.
(Inherited from SslSettings.) | |
SslDoNotInsertEmptyFragment |
Do not send empty record after successful handshake with CBC ciphers.
(Inherited from SslSettings.) | |
SslMinimumDiffieHellmanKeySize |
Gets or sets the minimum allowed size (in bits) of the ephemeral Diffie-Hellman prime.
Valid values are from 512 to 16384, inclusive.
(Inherited from SslSettings.) | |
SslPreferredHashAlgorithm |
Gets or sets the preferred signature hash algorithm.
(Inherited from SslSettings.) | |
SslRenegotiationExtensionEnabled |
Enables and disables renegotiation indication extension.
(Inherited from SslSettings.) | |
SslServerCertificateValidationOptions |
Gets or sets validation options to use when validating a server certificate using the default certificate validator.
This value is passed as Options as well.
(Inherited from SslSettings.) | |
SslServerCertificateVerifier |
Gets or sets TLS/SSL server certificate verifier.
(Inherited from SslSettings.) | |
SslServerName |
Gets or sets TLS/SSL server's common name.
(Inherited from SslSettings.) | |
SslServerNameIndicationEnabled |
Enables and disables server name indication.
(Inherited from SslSettings.) | |
SslSession |
Gets or sets a TLS/SSL session to resume.
(Inherited from SslSettings.) | |
SslSessionCacheEnabled |
Gets or sets a value indicating whether the TLS/SSL session cache is enabled (default is true).
| |
SslStrictKeyUsageValidation |
Gets or sets a key usage check mode for server certificate.
(Inherited from SslSettings.) |