CairoExplorer.FileToIconConverter.isExecutable C# (CSharp) Метод

isExecutable() приватный статический Метод

private static isExecutable ( string fileName ) : bool
fileName string
Результат bool
        private static bool isExecutable(string fileName)
        {
            string ext = Path.GetExtension(fileName).ToLower();
            if (ext == "")
                return false;
            return (exeFilter.IndexOf(ext) != -1 && File.Exists(fileName));
        }