Smarty .NET SDK
If you want to access our APIs (other than the Download API) from a C#, F#, or Visual Basic application, the Smarty .NET SDK can make it a lot easier. Our .NET SDK includes ready-made data structures and takes care of all the gritty, low-level HTTP intricacies for you.
Contents
Requirements
- Decide to build a software project using a programming language compatible with the .NET Framework v4.0 (or later), .NET Standard 2.0, or Mono (like C#).
- Build enough of the project to realize that you now need an address verification component.
- Wisely conclude that you don't want to build your own address verification component.
- Realize that Smarty has already created an address verification component.
- Congratulations! You are now ready to use the Smarty .NET SDK.
How to get it
NuGet
The easiest way to install this SDK is by using NuGet. Visual Studio, Xamarin, and Project Rider all have NuGet plugins, but you can also run the following command in the Package manager Console:
PM> Install-Package smartystreets-dotnet-sdk
Or you can run this command in the command line:
nuget install smartystreets-dotnet-sdk
Download the source code
You can find source code of the Smarty .Net SDK repository on Github which contains many sample code snippets.
How to use it
Demo
Examples
Here are a few examples showing how to use the .Net SDK: