public WebFileInfo GetFileInfo(string path) { if (path.StartsWith("http://")) { return(ArtworkRetriever.GetFileInfo(path)); } return(new WebFileInfo(PathUtil.StripFileProtocolPrefix(path))); }
public WebFileInfo GetFileInfo(string path) { if (path.StartsWith("http://")) { return(ArtworkRetriever.GetFileInfo(path)); } return(new WebFileInfo(new FileInfo(path))); }