コード例 #1
0
        public WebFileInfo GetFileInfo(string path)
        {
            if (path.StartsWith("http://"))
            {
                return(ArtworkRetriever.GetFileInfo(path));
            }

            return(new WebFileInfo(PathUtil.StripFileProtocolPrefix(path)));
        }
コード例 #2
0
        public WebFileInfo GetFileInfo(string path)
        {
            if (path.StartsWith("http://"))
            {
                return(ArtworkRetriever.GetFileInfo(path));
            }

            return(new WebFileInfo(new FileInfo(path)));
        }