EgressAddressVerdict
AgentPrism.Core.dllThe result of validating an outbound target address.
public readonly struct EgressAddressVerdict : IEquatable<EgressAddressVerdict>Implements
Section titled “Implements”IEquatable<EgressAddressVerdict>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”IsAllowed
Section titled “ IsAllowed”Whether a connection to the target may be opened.
public bool IsAllowed { get; init; }Property Value
Section titled “Property Value”Reason
Section titled “ Reason”The reason for rejection. null if allowed.
public string? Reason { get; init; }Property Value
Section titled “Property Value”ResolvedAddresses
Section titled “ ResolvedAddresses”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; }Property Value
Section titled “Property Value”IPAddress[]?
Methods
Section titled “Methods”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)Parameters
Section titled “Parameters”IsAllowed bool
Reason string?
ResolvedAddresses IPAddress[]?
Equals(object)
Section titled “ Equals(object)”public override bool Equals(object obj)Parameters
Section titled “Parameters”obj object
Returns
Section titled “Returns”Equals(EgressAddressVerdict)
Section titled “ Equals(EgressAddressVerdict)”public bool Equals(EgressAddressVerdict other)Parameters
Section titled “Parameters”other EgressAddressVerdict
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(EgressAddressVerdict, EgressAddressVerdict)
Section titled “ operator ==(EgressAddressVerdict, EgressAddressVerdict)”public static bool operator ==(EgressAddressVerdict left, EgressAddressVerdict right)Parameters
Section titled “Parameters”left EgressAddressVerdict
right EgressAddressVerdict
Returns
Section titled “Returns”operator !=(EgressAddressVerdict, EgressAddressVerdict)
Section titled “ operator !=(EgressAddressVerdict, EgressAddressVerdict)”public static bool operator !=(EgressAddressVerdict left, EgressAddressVerdict right)Parameters
Section titled “Parameters”left EgressAddressVerdict
right EgressAddressVerdict