Skip to content
This repository has been archived by the owner. It is now read-only.

elmahio/Elmah.Io.FaviconLoader

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Elmah.Io.FaviconLoader

Nice little tool for getting the URL of the favicon for any website.

How to use it:

[Test]
public void CanGetFaviconIco()
{
    var favicon = new Favicon();
    var faviconUrl = favicon.Load(new Uri("http://elmahio.azurewebsites.net"));
    Assert.That(faviconUrl != null);
    Assert.That(faviconUrl.ToString(), Is.EqualTo("http://elmahio.azurewebsites.net/favicon.ico"));
}

About

A nice little tool for getting the URL of the favicon for any website.

Topics

Resources

License

Stars

Watchers

Forks

Languages