Ejemplo n.º 1
0
    public void PublicFileLink()
    {
        //By default, VirusTotal redirects to http:// based links
        VirusTotal.UseTLS = false;

        Assert.Equal("http://www.virustotal.com/#/file/99017f6eebbac24f351415dd410d522d/detection", VirusTotal.GetPublicFileScanLink("99017f6eebbac24f351415dd410d522d"));
        Assert.Equal("http://www.virustotal.com/#/file/4d1740485713a2ab3a4f5822a01f645fe8387f92/detection", VirusTotal.GetPublicFileScanLink("4d1740485713a2ab3a4f5822a01f645fe8387f92"));
        Assert.Equal("http://www.virustotal.com/#/file/52d3df0ed60c46f336c131bf2ca454f73bafdc4b04dfa2aea80746f5ba9e6d1c/detection", VirusTotal.GetPublicFileScanLink("52d3df0ed60c46f336c131bf2ca454f73bafdc4b04dfa2aea80746f5ba9e6d1c"));
    }