Monday, 16 August 2010

Get physical path of file in EpiServer from unfied file path

UnifiedFile file = HostingEnvironment.VirtualPathProvider.GetFile(path) as UnifiedFile;
string filePath = file.LocalPath;

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!