ArinWhois.NET
.NET client for ARIN's Whois RESTful Web Service, the API to accessing ARIN's Whois data
Install / Use
/learn @MaxHorstmann/ArinWhois.NETREADME
ARIN-Whois.NET
.NET client for ARIN's Whois RESTful Web Service, the API to accessing ARIN's Whois data.
The American Registry for Internet Numbers (ARIN) is the Regional Internet Registry (RIR) for North America. Their API is a directory service to access data in their registration database, such as networks, organizations, and point of contacts.
This is a simple .NET client to access the RESTful API programmatically with a set of statically typed helper classes.
Install
Use the NuGet package, run the following command in the Package Manager Console:
PM> Install-Package ArinWhois
Sample Usage
var arinClient = new ArinClient();
// Check single IP
var ipResponse = await arinClient.QueryIpAsync(IPAddress.Parse("69.63.176.0"));
Console.WriteLine(ipResponse.Network.Name);
Console.WriteLine(ipResponse.Network.NetBlocks.NetBlock.Cidr);
// Find out more about organization
var orgResponse = await arinClient.QueryResourceAsync(ipResponse.Network.OrgRef.Handle,
ArinClient.ResourceType.Organization);
Console.WriteLine(orgResponse.Organization.Name);
Console.WriteLine(orgResponse.Organization.City);
If you don't wanna do async, use .Result:
var response = arinClient.QueryIpAsync(IPAddress.Parse("69.63.176.0")).Result;
But you should do async, really.
Limitations
- Read-only
Contributors
- MaxHorstmann (Max Horstmann)
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
