Live2D 看板娘 / Demo

C# 删除文件

        public static void DeleteFile(string fileUrl)
        {
            string file = System.Web.HttpContext.Current.Server.MapPath(fileUrl);
            if (System.IO.File.Exists(file))
            {
                System.IO.File.Delete(file);
            }
        }

 

posted @ 2020-10-15 17:51  KysonDu  阅读(2369)  评论(0编辑  收藏  举报