API Reference
Class
EmailValidationData
Provides lookup sets for email validation heuristics.
Inheritance
- Object
- EmailValidationData
Methods
public static Boolean IsB2CProvider(String domain, String overridePath = null) #Returns:
BooleanReturns true when domain is a known B2C provider.
Parameters
- domain System.String
- overridePath System.String = null
public static async Task<Boolean> IsB2CProviderAsync(String domain, String overridePath = null, CancellationToken cancellationToken = null) #Returns:
Task<Boolean>Returns true when domain is a known B2C provider.
Parameters
- domain System.String
- overridePath System.String = null
- cancellationToken System.Threading.CancellationToken = null
public static Boolean IsDisposableDomain(String domain, String overridePath = null) #Returns:
BooleanReturns true when domain is a known disposable provider.
Parameters
- domain System.String
- overridePath System.String = null
public static async Task<Boolean> IsDisposableDomainAsync(String domain, String overridePath = null, CancellationToken cancellationToken = null) #Returns:
Task<Boolean>Returns true when domain is a known disposable provider.
Parameters
- domain System.String
- overridePath System.String = null
- cancellationToken System.Threading.CancellationToken = null
IsDomainOrSubdomain(System.String arg1, System.Collections.Generic.HashSet{System.String} arg2) #Returns true when domain or any parent suffix is present in the set.
Parameters
- arg1 System.String
- arg2 System.Collections.Generic.HashSet{System.String}
public static Boolean IsFreeProvider(String domain, String overridePath = null) #Returns:
BooleanReturns true when domain is a known free provider.
Parameters
- domain System.String
- overridePath System.String = null
public static async Task<Boolean> IsFreeProviderAsync(String domain, String overridePath = null, CancellationToken cancellationToken = null) #Returns:
Task<Boolean>Returns true when domain is a known free provider.
Parameters
- domain System.String
- overridePath System.String = null
- cancellationToken System.Threading.CancellationToken = null
public static Boolean IsRoleAccount(String localPart, String overridePath = null) #Returns:
BooleanReturns true when localPart matches a role account.
Parameters
- localPart System.String
- overridePath System.String = null
public static async Task<Boolean> IsRoleAccountAsync(String localPart, String overridePath = null, CancellationToken cancellationToken = null) #Returns:
Task<Boolean>Returns true when localPart matches a role account.
Parameters
- localPart System.String
- overridePath System.String = null
- cancellationToken System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object