BlogEngine.Core.Providers.UNCFileSystemProvider.FileExists C# (CSharp) Method

FileExists() public method

boolean wether a file exists by its virtual path
public FileExists ( string VirtualPath ) : bool
VirtualPath string the virtual path
return bool
        public override bool FileExists(string VirtualPath)
        {
            VirtualPath = CleanVirtualPath(VirtualPath);
            var aPath = VirtualPathToUNCPath(VirtualPath);
            return File.Exists(aPath);
        }