using System;
using System.Net.Http;
using System.Threading.Tasks;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.whoisfreaks.com/v1.0/whois?apiKey=API_KEY&whois=live&domainName=google.com");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());using System;
using System.Net.Http;
using System.Threading.Tasks;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.whoisfreaks.com/v1.0/whois?apiKey=API_KEY&whois=historical&domainName=google.com");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());using System;
using System.Net.Http;
using System.Threading.Tasks;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.whoisfreaks.com/v1.0/whois?apiKey=API_KEY&whois=reverse&keyword=youtube");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());using System;
using System.Net.Http;
using System.Threading.Tasks;
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.whoisfreaks.com/v1.0/bulkwhois?apiKey=API_KEY");
request.Headers.Add("Content-Type", "application/json");
request.Content = new StringContent("{"domainNames": ["amazon.ch","google.com","whoisfreaks.com","nic.dev","news.si"]}");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());