API Reference
Class
PublicSuffixList
Provides utilities for working with the public suffix list.
Inheritance
- Object
- PublicSuffixList
Methods
IsPublicSuffix(System.String domain) #Determines whether the provided domain is a public suffix.
Parameters
- domain System.String
Load 2 overloads
Load(System.String filePath) #Loads the public suffix list from the specified file.
Parameters
- filePath System.String
Load(System.IO.Stream stream) #Loads the public suffix list from an open Stream.
Parameters
- stream System.IO.Stream
- Stream containing the list data.
Returns
An initialized PublicSuffixList instance.
LoadFromUrlAsync(System.String url) #Downloads and loads the public suffix list from the given URL.
Parameters
- url System.String
- HTTP or HTTPS address of the list.
Returns
A task representing the asynchronous operation.