Domain Detective

API Reference

Class

TyposquattingVisualSimilarityOptions

Namespace DomainDetective
Assembly DomainDetective
Modifiers sealed

Options for source-vs-candidate visual comparison in typosquatting analysis.

Inheritance

  • Object
  • TyposquattingVisualSimilarityOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Constructors

public TyposquattingVisualSimilarityOptions() #

Properties

public Boolean Enabled { get; set; } #

When true, visual similarity is enabled.

public Boolean EnableStaticAssetCapture { get; set; } #

When true, favicon and social-image discovery can be used as the default visual capture path.

public Boolean EnableBrowserCapture { get; set; } #

When true, a built-in browser capture provider can render a screenshot for comparison.

public Int32 MaxCandidates { get; set; } #

Maximum number of candidates visually fingerprinted per analysis run.

public Int32 MaxParallelism { get; set; } #

Maximum number of visual captures performed in parallel.

public Boolean RegisteredOnly { get; set; } #

When true, only candidates with a DNS footprint are considered.

public Int32 CloneDistanceThreshold { get; set; } #

Maximum Hamming distance still considered a likely visual clone.

public Int32 SimilarDistanceThreshold { get; set; } #

Maximum Hamming distance still considered visually similar.

public Int32 MaxAssetBytes { get; set; } #

Maximum number of bytes downloaded for a single visual asset.

public Int32 MaxAssetsPerPage { get; set; } #

Maximum number of visual assets collected per page before comparison.

public Func<String, CancellationToken, Task<IReadOnlyList<TyposquattingVisualArtifact>>> CaptureManyOverride { get; set; } #

Optional capture override returning one or more screenshots or precomputed fingerprints for a URL.

public Func<String, CancellationToken, Task<TyposquattingVisualArtifact>> CaptureOverride { get; set; } #

Optional capture override returning a screenshot or precomputed fingerprint for a URL.

public Func<String, CancellationToken, Task<TyposquattingVisualArtifact>> BrowserCaptureOverride { get; set; } #

Optional override for the built-in browser screenshot path.

public Func<String, CancellationToken, Task<HttpAnalysis>> PageHttpOverride { get; set; } #

Optional override for fetching page HTML before static visual asset discovery.

public Func<String, CancellationToken, Task<TyposquattingVisualArtifact>> AssetDownloadOverride { get; set; } #

Optional override for downloading the selected visual asset.

public HttpRequestOptions HttpRequestOptions { get; } #

Custom request options used when default page and asset fetching is performed.

public Int32 BrowserViewportWidth { get; set; } #

Viewport width used for built-in browser screenshots.

public Int32 BrowserViewportHeight { get; set; } #

Viewport height used for built-in browser screenshots.

public TimeSpan BrowserCaptureTimeout { get; set; } #

Timeout used for built-in browser navigation and screenshot capture.

public TimeSpan BrowserPostLoadDelay { get; set; } #

Additional post-load wait before capturing a built-in browser screenshot.

public Boolean BrowserFullPageScreenshot { get; set; } #

When true, built-in browser capture uses a full-page screenshot.

{{ include "footer" }}