Validate and Identify IP Address Intelligence in C#

Creating a secure information environment for your business and clients has become increasingly challenging during this era of evolving technology. Since every computer you connect with has an IP address, this is a common form of infiltration into a network. To ensure that the IP addresses you interact with are safe, you can use the following API to not only identify know threat IPs, bots, and Tor exit nodes, but also identify location information.

Image for post
Image for post

First, we need to install the SDK. Please note that we have both .NET Framework and .NET Core available, but the below instructions will detail .NET Framework only.

Install-Package Cloudmersive.APIClient.NET.ImageRecognition -Version 3.0.3

Next, we can call the function with the following code:

using System;
using System.Diagnostics;
using Cloudmersive.APIClient.NET.ImageRecognition.Api;
using Cloudmersive.APIClient.NET.ImageRecognition.Client;
using Cloudmersive.APIClient.NET.ImageRecognition.Model;

This will give you a prompt response detailing the safety status and location of the IP address. Check out the Cloudmersive website to retrieve your API key! This will also give you access to 800 monthly calls across our library of APIs.

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

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