#####nuget The package is available on nuget https://www.nuget.org/packages/Nager.PublicSuffix
install-package Nager.PublicSuffix
#####Example
var domainParser = new DomainParser();
var data = await domainParser.LoadDataAsync();
var tldRules = domainParser.ParseRules(data);
domainParser.AddRules(tldRules);
var domainName = domainParser.Get("sub.test.co.uk");