Class IspTools
Internet Service Provider server information
Inheritance
object
IspTools
Namespace: Nettify.MailAddress
Assembly: Nettify.dll
Syntax
public static class IspTools
Properties
| Edit this page View SourceKnownIspHosts
A list of known ISP hosts
Declaration
public static string[] KnownIspHosts { get; }
Property Value
Type | Description |
---|---|
string[] |
Methods
| Edit this page View SourceGetIspConfig(string)
Gets the ISP configuration for the specified mail address
Declaration
public static ClientConfig GetIspConfig(string address)
Parameters
Type | Name | Description |
---|---|---|
string | address | The mail address to parse. Must include the ISP hostname. |
Returns
Type | Description |
---|---|
ClientConfig | The ISP client config for specified mail address |
GetIspConfigFromHost(string)
Gets the ISP configuration for the specified host
Declaration
public static ClientConfig GetIspConfigFromHost(string host)
Parameters
Type | Name | Description |
---|---|---|
string | host | The ISP hostname. |
Returns
Type | Description |
---|---|
ClientConfig | The ISP client config for specified host |
IsIspKnown(string)
Checks to see if your mail ISP is known
Declaration
public static bool IsIspKnown(string host)
Parameters
Type | Name | Description |
---|---|---|
string | host | A valid host name that pertains to your mail provider |
Returns
Type | Description |
---|---|
bool | True if your ISP is known; false otherwise |
IsIspKnownByMail(string)
Checks to see if your mail ISP is known
Declaration
public static bool IsIspKnownByMail(string address)
Parameters
Type | Name | Description |
---|---|---|
string | address | A valid and full e-mail address containing your mail provider |
Returns
Type | Description |
---|---|
bool | True if your ISP is known; false otherwise |