Webinar
Smarty

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

  1. Requirements
  2. How to get it
    1. NuGet
    2. Download the source code
  3. How to use it
    1. Demo
    2. Examples
  4. API reference material

Requirements

  1. 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#).
  2. Build enough of the project to realize that you now need an address verification component.
  3. Wisely conclude that you don't want to build your own address verification component.
  4. Realize that Smarty has already created an address verification component.
  5. 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.

Use the source, Luke!

How to use it

Demo

Examples

Here are a few examples showing how to use the .Net SDK: