Domain Detective

API Reference

Class

StringAlgorithms

Namespace DomainDetective

Provides helper algorithms for string comparison and analysis.

Inheritance

  • Object
  • StringAlgorithms

Methods

ContainsHomoglyphs(System.String input) #

Determines whether the input contains likely homoglyph characters.

Parameters

input System.String required
The string to inspect.

Returns

true if homoglyphs were found; otherwise false.

LevenshteinDistance(System.String source, System.String target) #

Calculates the Levenshtein distance between two strings.

Parameters

source System.String required
The first string.
target System.String required
The second string.

Returns

The edit distance between source and target.

{{ include "footer" }}