CSKernelFile.cFile.fileExists C# (CSharp) Method

fileExists() private static method

private static fileExists ( string fullFileName ) : bool
fullFileName string
return bool
        private static bool fileExists(string fullFileName) 
        {
            try
            {
                if (fullFileName == "\\ .")
                {
                    return false;
                }
                else 
                {
                    FileInfo fi = new FileInfo(fullFileName);
                    return fi.Exists;                
                }
            }
            catch (Exception ex) {
                return false;
            }
        }