C# / .NET Email Verification SDK
Free plan available. No credit card required.
NuGet Installation
Install the EmailVerify SDK for .NET via CLI or NuGet Package Manager.
dotnet add package EmailVerify.SDK
C# Usage Guide
1 Synchronous Verification
Simple, type-safe email verification for the .NET ecosystem. Our C# library provides a straightforward implementation for real-time validation, handling all network communication and response parsing out-of-the-box.
using EmailVerifySDK;
// Fast validation
var res = EmailVerify.Instance.Validate("[email protected]");
if (res.Status == "valid") {
Console.WriteLine("Deliverable!");
}
2 Enterprise Batch Processing
Verify millions of contacts with ease. The Batch API is highly optimized for asynchronous processing, allowing your applications to stay responsive while our cloud infrastructure handles the heavy lifting.
var emails = new List<string> { "[email protected]", "[email protected]" };
EmailVerify.Instance.ValidateBatch("My Campaign", emails, response => {
Console.WriteLine($"Task ID: {response.TaskId}");
}, error => {
// Handle error
});
3 Advanced Configuration
Configure for security and performance. Full support for custom timeouts, enterprise proxies, and automatic retry logic, ensuring seamless integration with your corporate network and security stack.
// Custom configuration (Optional)
EmailVerify.Instance.Initialize("your_api_key", new Config {
Timeout = 15000, // 15 seconds
RetryOnFailure = true,
ProxyServer = "http://proxy.corp.com:8080"
});
4 B2B Lead Discovery (Finder)
Strategic lead generation. The Finder API resolve corporate email addresses using intelligent algorithms and real-time verification, helping your sales team reach the right decision-makers.
EmailVerify.Instance.FindEmail("Satya Nadella", "microsoft.com", res => {
if (res.IsFound) {
Console.WriteLine($"Email: {res.Email} ({res.Confidence}%)");
}
});
5 Real-time Syntax Validation
Stop bad data at the point of entry. Use our syntax engine to catch common typos on sign-up forms, improving data quality and user experience by providing instant corrective feedback.
var check = EmailVerify.Instance.ValidateSyntax("[email protected]");
if (!check.IsValid && !string.IsNullOrEmpty(check.Suggestion)) {
Console.WriteLine($"Did you mean {check.Suggestion}?");
}
6 ASP.NET Core DI Integration
First-class Dependency Injection support. Easily register the EmailVerify client in your ASP.NET Core services container and inject it into your controllers or middleware for clean, testable code.
// In Program.cs
builder.Services.AddSingleton<IEmailVerify>(EmailVerify.Instance);
// In your Controller
public class SignupController : ControllerBase {
private readonly IEmailVerify _client;
public SignupController(IEmailVerify client) => _client = client;
[HttpPost]
public IActionResult Check(string email) {
var res = _client.Validate(email);
return Ok(res);
}
}
7 Callback-based Async Pattern
Optimized for UI responsiveness. Use the asynchronous pattern to perform verifications without blocking the main execution thread, ideal for WPF, WinForms, or high-traffic ASP.NET applications.
EmailVerify.Instance.ValidateAsync("[email protected]", (res) => {
if (res.Status == "valid") {
// Update UI or DB
}
});
8 Threat & Disposable Detection
Protect your domain health. Identify and block temporary mail providers, spam traps, and high-risk domains before they impact your email deliverability rates and sender reputation.
var res = EmailVerify.Instance.Validate("[email protected]");
if (res.IsDisposable) {
throw new SecurityException("Disposable emails not allowed.");
}
Console.WriteLine($"Provider: {res.Provider}");
Frequently Asked Questions
Which .NET versions are supported?
The SDK supports .NET Standard 2.0+, .NET Core 3.1+, and .NET 5/6/7/8. It can be used in both desktop and web applications.
How do I handle async calls in C#?
The SDK provide both synchronous and asynchronous wrappers. We recommend using the callback-based or Async/Await patterns for the best UI responsiveness.
Is the C# SDK thread-safe?
Yes, the singleton-based EmailVerify instance is thread-safe and can be used across multiple threads in your application.
Can I use it with ASP.NET Core Dependency Injection?
Absolutely. You can register the EmailVerify service in your `Program.cs` or `Startup.cs` file and inject it into your controllers or services.
You're just one click away from clean email lists.
Start verifying your email addresses instantly and improve your campaign deliverability
* No credit card required