How to Validate a First Name in C# .NET Framework

Install-Package Cloudmersive.APIClient.NET.Validate -Version 2.0.7
using System;using System.Diagnostics;using Cloudmersive.APIClient.NET.Validate.Api;using Cloudmersive.APIClient.NET.Validate.Client;using Cloudmersive.APIClient.NET.Validate.Model;namespace Example{public class NameValidateFirstNameExample{public void main(){// Configure API key authorization: ApikeyConfiguration.Default.AddApiKey("Apikey", "YOUR_API_KEY");// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed// Configuration.Default.AddApiKeyPrefix("Apikey", "Bearer");var apiInstance = new NameApi();var input = new FirstNameValidationRequest(); // FirstNameValidationRequest | Validation request informationtry{// Validate a first nameFirstNameValidationResponse result = apiInstance.NameValidateFirstName(input);Debug.WriteLine(result);}catch (Exception e){Debug.Print("Exception when calling NameApi.NameValidateFirstName: " + e.Message );}}}}

--

--

--

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Mailing List App: Go Serverless(Part IV)

Python for Rubyists, Part I: Getting Started

7 Mistakes New Flutter Developers Make

This disease can kill It can leave you needing a ventilator for a very long time

APPS to watch out for in 2021, setting up the benchmark for the upcoming web/app development!

Numpy Tutorial — 1: Beginners Guide to Data Analysis

Mental Math Made Easy, the Algorithmic Way!

CREATING A RAILS PROJECT , SETTING IT UP IN GITHUB: THE BASICS.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cloudmersive

Cloudmersive

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

More from Medium

How to Connect Wi-Fi using Nmcli in Linux

Version Control with Git

How to manage secrets in .NET locally and on GitHub? — Maytham Fahmi

How to create Telegram Bot via C# (Reminder Bot)

Telegram bots cover