I want to get whois information of a domain name from my c#/java programs. Is there a simple way to do this? Answer I found a perfect C# example on dotnet-snippets.com (which doesn’t exist anymore). It’s 11 lines of code to copy and paste straight into your own application.