TLDExtract.url 0.0.3

dotnet add package TLDExtract.url --version 0.0.3
                    
NuGet\Install-Package TLDExtract.url -Version 0.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TLDExtract.url" Version="0.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TLDExtract.url" Version="0.0.3" />
                    
Directory.Packages.props
<PackageReference Include="TLDExtract.url" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TLDExtract.url --version 0.0.3
                    
#r "nuget: TLDExtract.url, 0.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TLDExtract.url@0.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TLDExtract.url&version=0.0.3
                    
Install as a Cake Addin
#tool nuget:?package=TLDExtract.url&version=0.0.3
                    
Install as a Cake Tool

TLDExtract

Nuget: https://www.nuget.org/packages/TLDExtract.url/

Kleine Bibliothek zum Parsen von Domain-Strings und Extrahieren von Subdomain, Domain und Suffix basierend auf der Public Suffix List.

Kurz: TLDExtractor.Extract(...) akzeptiert eine string-Darstellung einer Domain oder eine Uri und liefert ein ExtractResult mit SubDomain, Domain, Suffix und SuffixType.

Quick Start

  1. Projekt bauen:

    • CLI: dotnet build
    • Visual Studio: Öffne die Lösung und baue über Build > Build Solution.
  2. Tests ausführen:

    • CLI: dotnet test
    • Visual Studio: benutze Test Explorer.

Beispiele

C# (String):

using TLDExtract;
var result = TLDExtractor.Extract("seraphim.escsoft.de"); Console.WriteLine(result.ToString());
// Beispiel-Ausgabe: // ExtractResult(subdomain='www', domain='seraphim', suffix='escsoft.de', suffix type='ICANN')
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.3 397 11/17/2025