VirtualFile file = System.Web.Hosting.HostingEnvironment.VirtualPathProvider.GetFile( CurrentPage["FilePath"].ToString() );
UnifiedFile f = file as UnifiedFile;
return f.Length / 1024 + ” kb”;
You are currently browsing articles tagged filesize.
Tags: cms, EPiServer CMS 5, filesize, virtual file


Latest comments