Table of Contents

Class DomainObservation

Namespace
VpnHood.Core.Filtering.DomainFiltering.Observation
Assembly
VpnHood.Core.Filtering.DomainFiltering.dll

Represents a domain name the client's domain filter has seen, with its last verdict.

public class DomainObservation
Inheritance
DomainObservation
Inherited Members

Remarks

DomainObserver updates the same instance each time the name is seen again.

Properties

Action

Gets or sets the verdict the name got when last seen.

public FilterAction Action { get; set; }

Property Value

FilterAction

Count

Gets or sets how many times the name has been seen. The default is 1.

public int Count { get; set; }

Property Value

int

DomainName

Gets the domain name, as first seen.

public required string DomainName { get; init; }

Property Value

string

LastObservedTime

Gets or sets when the name was last seen, in UTC.

public DateTime LastObservedTime { get; set; }

Property Value

DateTime

Protocol

Gets or sets the protocol of the flow in which the name was last seen.

public DomainObservationProtocol Protocol { get; set; }

Property Value

DomainObservationProtocol