Class ForceTlsVersionAction
Force the usage of a specific TLS version. Values can be chosen among : Tls, Tls11, Tls12, Tls13 (if .NET 6+), Ssl3, Ssl2. Forcing the usage of a specific TLS version can break the exchange if the remote does not support the requested protocol.
[ActionMetadata("Force the usage of a specific TLS version. Values can be chosen among : Tls, Tls11, Tls12, Tls13, Ssl3, Ssl2. <br/>Forcing the usage of a specific TLS version can break the exchange if the remote does not support the requested protocol.")]
public class ForceTlsVersionAction : Action
- Inheritance
-
ForceTlsVersionAction
- Inherited Members
Constructors
ForceTlsVersionAction(SslProtocols)
public ForceTlsVersionAction(SslProtocols sslProtocols)
Parameters
sslProtocols
SslProtocols
Properties
ActionScope
public override FilterScope ActionScope { get; }
Property Value
DefaultDescription
public override string DefaultDescription { get; }
Property Value
SslProtocols
SslProtocols : Values can be chosen among : Tls, Tls11, Tls12, Tls13 (if .NET 6+), Ssl3, Ssl2.
public SslProtocols SslProtocols { get; set; }
Property Value
Methods
GetExamples()
public override IEnumerable<ActionExample> GetExamples()
Returns
InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)
public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)
Parameters
context
ExchangeContextexchange
Exchangeconnection
Connectionscope
FilterScopebreakPointManager
BreakPointManager