Skip to content

EgressAddressVerdict

Namespace AgentPrism · Assembly AgentPrism.Core.dll

The result of validating an outbound target address.

public readonly struct EgressAddressVerdict : IEquatable<EgressAddressVerdict>

IEquatable<EgressAddressVerdict>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

EgressAddressVerdict(bool, string?, IPAddress[]?)

Section titled “ EgressAddressVerdict(bool, string?, IPAddress[]?)”

The result of validating an outbound target address.

public EgressAddressVerdict(bool IsAllowed, string? Reason, IPAddress[]? ResolvedAddresses)

IsAllowed bool

Whether a connection to the target may be opened.

Reason string?

The reason for rejection. null if allowed.

ResolvedAddresses IPAddress[]?

Every address the host resolved to. The connection is established to these addresses; resolving the name again would reopen the DNS rebinding window.

Whether a connection to the target may be opened.

public bool IsAllowed { get; init; }

bool

The reason for rejection. null if allowed.

public string? Reason { get; init; }

string?

Every address the host resolved to. The connection is established to these addresses; resolving the name again would reopen the DNS rebinding window.

public IPAddress[]? ResolvedAddresses { get; init; }

IPAddress[]?

Deconstruct(out bool, out string?, out IPAddress[]?)

Section titled “ Deconstruct(out bool, out string?, out IPAddress[]?)”
public void Deconstruct(out bool IsAllowed, out string? Reason, out IPAddress[]? ResolvedAddresses)

IsAllowed bool

Reason string?

ResolvedAddresses IPAddress[]?

public override bool Equals(object obj)

obj object

bool

public bool Equals(EgressAddressVerdict other)

other EgressAddressVerdict

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(EgressAddressVerdict, EgressAddressVerdict)

Section titled “ operator ==(EgressAddressVerdict, EgressAddressVerdict)”
public static bool operator ==(EgressAddressVerdict left, EgressAddressVerdict right)

left EgressAddressVerdict

right EgressAddressVerdict

bool

operator !=(EgressAddressVerdict, EgressAddressVerdict)

Section titled “ operator !=(EgressAddressVerdict, EgressAddressVerdict)”
public static bool operator !=(EgressAddressVerdict left, EgressAddressVerdict right)

left EgressAddressVerdict

right EgressAddressVerdict

bool