Getting Started
Install the C# email verification SDK by running dotnet add package EV.EmailVerifier in your project directory. The package targets .NET Standard 2.1, making it compatible with .NET 6, 7, 8, and later versions. It uses HttpClient with IHttpClientFactory support for proper connection lifecycle management, avoiding socket exhaustion in long-running applications. The package is available on NuGet and can also be installed through the Visual Studio NuGet Package Manager or by adding a PackageReference to your .csproj file.
After installation, create an EmailVerifierClient instance with your API key. For ASP.NET Core applications, call builder.Services.AddEmailVerifier() in your Program.cs and configure the API key in appsettings.json under the EV:ApiKey section. The service registration uses IHttpClientFactory internally for optimal connection management. The options object supports Timeout, MaxRetries, Sandbox mode, and a custom BaseUrl. All verification methods are fully asynchronous, returning Task<T> and supporting CancellationToken parameters for cooperative cancellation throughout your application pipeline.