public void PublicUrlLink() { //By default, VirusTotal redirects to http:// based links VirusTotal.UseTLS = false; Assert.Equal("http://www.virustotal.com/#/url/cf4b367e49bf0b22041c6f065f4aa19f3cfe39c8d5abc0617343d1a66c6a26f5/detection", VirusTotal.GetPublicUrlScanLink("google.com")); Assert.Equal("http://www.virustotal.com/#/url/cf4b367e49bf0b22041c6f065f4aa19f3cfe39c8d5abc0617343d1a66c6a26f5/detection", VirusTotal.GetPublicUrlScanLink("http://google.com")); Assert.Equal("http://www.virustotal.com/#/url/9d116b1b0c1200ca75016e4c010bc94836366881b021a658ea7f8548b6543c1e/detection", VirusTotal.GetPublicUrlScanLink("https://google.com")); }