ConnectionInfo Type
Contains information about a network connection.
Remarks
Use this property to check various details of the network connection. These include the total amounts of data transferred, the availability of TLS, and its parameters.
Fields
|
AEADCipher boolean |
Indicates whether the encryption algorithm used is an AEAD cipher. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
ChainValidationDetails int |
The details of a certificate chain validation outcome. They may often suggest what reasons that contributed to the overall validation result. Returns a bit mask of the following options:
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
ChainValidationResult int |
The outcome of a certificate chain validation routine. Available options:
Use the ValidationLog property to access the detailed validation log. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Ciphersuite String |
The cipher suite employed by this connection. For TLS connections, this property returns the ciphersuite that was/is employed by the connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
ClientAuthenticated boolean |
Specifies whether client authentication was performed during this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
ClientAuthRequested boolean |
Specifies whether client authentication was requested during this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
ConnectionEstablished boolean |
Indicates whether the connection has been established fully. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
ConnectionID byte[] |
The unique identifier assigned to this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
DigestAlgorithm String |
The digest algorithm used in a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
EncryptionAlgorithm String |
The symmetric encryption algorithm used in a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Exportable boolean |
Indicates whether a TLS connection uses a reduced-strength exportable cipher. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
KeyExchangeAlgorithm String |
The key exchange algorithm used in a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
KeyExchangeKeyBits int |
The length of the key exchange key of a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
NamedECCurve String |
The elliptic curve used in this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
PFSCipher boolean |
Indicates whether the chosen ciphersuite provides perfect forward secrecy (PFS). | ||||||||||||||||||||||||||||||||||||||||||||||||
|
PreSharedIdentityHint String |
A hint professed by the server to help the client select the PSK identity to use. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
PublicKeyBits int |
The length of the public key. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
ResumedSession boolean |
Indicates whether a TLS-enabled connection was spawned from another TLS connection | ||||||||||||||||||||||||||||||||||||||||||||||||
|
SecureConnection boolean |
Indicates whether TLS or SSL is enabled for this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
ServerAuthenticated boolean |
Indicates whether server authentication was performed during a TLS-enabled connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
SignatureAlgorithm String |
The signature algorithm used in a TLS handshake. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
SymmetricBlockSize int |
The block size of the symmetric algorithm used. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
SymmetricKeyBits int |
The key length of the symmetric algorithm used. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
TotalBytesReceived long |
The total number of bytes received over this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
TotalBytesSent long |
The total number of bytes sent over this connection. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
ValidationLog String |
Contains the server certificate's chain validation log. This information may be very useful in investigating chain validation failures. | ||||||||||||||||||||||||||||||||||||||||||||||||
|
Version String |
Indicates the version of SSL/TLS protocol negotiated during this connection. |
Constructors
public ConnectionInfo();
Creates a new ConnectionInfo object.