ConnectionInfo Class

Namespace
Microsoft.AspNetCore.Http
Assemblies
  • Microsoft.AspNetCore.Http.Abstractions

Syntax

public abstract class ConnectionInfo
class Microsoft.AspNetCore.Http.ConnectionInfo

Properties

Microsoft.AspNetCore.Http.ConnectionInfo.ClientCertificate
Return type:System.Security.Cryptography.X509Certificates.X509Certificate2
public abstract X509Certificate2 ClientCertificate { get; set; }
Microsoft.AspNetCore.Http.ConnectionInfo.LocalIpAddress
Return type:System.Net.IPAddress
public abstract IPAddress LocalIpAddress { get; set; }
Microsoft.AspNetCore.Http.ConnectionInfo.LocalPort
Return type:System.Int32
public abstract int LocalPort { get; set; }
Microsoft.AspNetCore.Http.ConnectionInfo.RemoteIpAddress
Return type:System.Net.IPAddress
public abstract IPAddress RemoteIpAddress { get; set; }
Microsoft.AspNetCore.Http.ConnectionInfo.RemotePort
Return type:System.Int32
public abstract int RemotePort { get; set; }

Methods

GetClientCertificateAsync(System.Threading.CancellationToken)
Return type:System.Threading.Tasks.Task<System.Security.Cryptography.X509Certificates.X509Certificate2>
public abstract Task<X509Certificate2> GetClientCertificateAsync(CancellationToken cancellationToken = null)