示例#1
0
        public string MapPath(string authenticationCookie, string url)
        {
            string path             = Path.Combine(HostingEnvironment.MapPath("~/Files"), PathSafe(authenticationCookie));
            string physicalFileName = _hasing.GetHashString(url + authenticationCookie);
            string filePath         = Path.Combine(path, physicalFileName);

            return(filePath);
        }