SslApplicationProtocol Struct

Definition

Represents a value of TLS Application protocol.

public value class SslApplicationProtocol : IEquatable<System::Net::Security::SslApplicationProtocol>
public struct SslApplicationProtocol : IEquatable<System.Net.Security.SslApplicationProtocol>
type SslApplicationProtocol = struct
Public Structure SslApplicationProtocol
Implements IEquatable(Of SslApplicationProtocol)
Inheritance
SslApplicationProtocol
Implements

Remarks

This type contains static fields with predefined SslApplicationProtocol values for HTTP versions.

During the handshake, the client sends a list of available ALPN protocols and the server chooses the best match from that list.

For a complete list of supported protocols, see TLS Application-Layer Protocol Negotiation (ALPN) Protocol IDs.

Constructors

SslApplicationProtocol(Byte[])

Initializes a new instance of the SslApplicationProtocol.

SslApplicationProtocol(String)

Initializes a new instance of the SslApplicationProtocol.

Fields

Http11

Gets a SslApplicationProtocol representing HTTP/1.1 TLS application protocol.

Http2

Gets a SslApplicationProtocol representing HTTP/2 TLS application protocol.

Properties

Protocol

Gets a current TLS application protocol represented by this SslApplicationProtocol.

Methods

Equals(Object)

Compares the SslApplicationProtocol to the specified object.

Equals(SslApplicationProtocol)

Compares a SslApplicationProtocol to the specified SslApplicationProtocol instance.

GetHashCode()

Returns the hash code for the SslApplicationProtocol instance.

ToString()

Overrides the ToString() method.

Operators

Equality(SslApplicationProtocol, SslApplicationProtocol)

The equality operator for comparing two SslApplicationProtocol objects.

Inequality(SslApplicationProtocol, SslApplicationProtocol)

The inequality operator for comparing two SslApplicationProtocol objects.

Applies to