Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Net.​Security.​SslApplicationProtocol

Assembly: System.Net.Security

Implemented Interfaces

Represents a value of TLS Application protocol.

Fields and Constants

public static readonly SslApplicationProtocol
Http11
Gets a <see cref="T:System.Net.Security.SslApplicationProtocol" /> representing HTTP/1.1 TLS application protocol.
public static readonly SslApplicationProtocol
Http2
Gets a <see cref="T:System.Net.Security.SslApplicationProtocol" /> representing HTTP/2 TLS application protocol.
public static readonly SslApplicationProtocol
Http3
Defines a <see cref="T:System.Net.Security.SslApplicationProtocol" /> instance for HTTP 3.0.

Properties

public ReadOnlyMemory<​byte>
Protocol
Gets a current TLS application protocol represented by this <see cref="T:System.Net.Security.SslApplicationProtocol" /> .

Methods

public bool
Equals​(SslApplicationProtocol other)
Compares a <see cref="T:System.Net.Security.SslApplicationProtocol" /> to the specified <see cref="T:System.Net.Security.SslApplicationProtocol" /> instance.
Returns <see langword="true" /> if the <see cref="T:System.Net.Security.SslApplicationProtocol" /> instance provided has matching data; otherwise, <see langword="false" /> .
other The <see cref="T:System.Net.Security.SslApplicationProtocol" /> instance to test for equality.
public bool
Equals​(object obj)
Compares the <see cref="T:System.Net.Security.SslApplicationProtocol" /> to the specified object.
Returns <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Net.Security.SslApplicationProtocol" /> instance, and the <see cref="T:System.Net.Security.SslApplicationProtocol" /> instances have matching data; otherwise, <see langword="false" /> .
obj The object to test for equality.
public int
GetHashCode​()
Returns the hash code for the <see cref="T:System.Net.Security.SslApplicationProtocol" /> instance.
Returns A 32-bit signed integer hash code used to compare instances of this type.
public string
ToString​()
Overrides the <see cref="M:System.Object.ToString" /> method.
Returns Returns a string representation of this <see cref="T:System.Net.Security.SslApplicationProtocol" /> object.
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object