Table of Contents

Class ForceTlsVersionAction

Namespace
Fluxzy.Rules.Actions
Assembly
Fluxzy.Core.dll

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

FilterScope

DefaultDescription

public override string DefaultDescription { get; }

Property Value

string

SslProtocols

SslProtocols : Values can be chosen among : Tls, Tls11, Tls12, Tls13 (if .NET 6+), Ssl3, Ssl2.

public SslProtocols SslProtocols { get; set; }

Property Value

SslProtocols

Methods

GetExamples()

public override IEnumerable<ActionExample> GetExamples()

Returns

IEnumerable<ActionExample>

InternalAlter(ExchangeContext, Exchange?, Connection?, FilterScope, BreakPointManager)

public override ValueTask InternalAlter(ExchangeContext context, Exchange? exchange, Connection? connection, FilterScope scope, BreakPointManager breakPointManager)

Parameters

context ExchangeContext
exchange Exchange
connection Connection
scope FilterScope
breakPointManager BreakPointManager

Returns

ValueTask