CmisSync.Lib.Cmis.CmisProfile.IsFileSystemCaseSensitive C# (CSharp) Метод

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

Whether the operating system is case-sensitive. For instance on Linux you can have two files/folders called "test" and "TEST", but on Windows that does not work. CMIS allows for case-sensitive names. This method does not extend to mounted filesystems, which might have different properties.
private static IsFileSystemCaseSensitive ( ) : bool
Результат bool
        private static bool IsFileSystemCaseSensitive()
        {
            // Actually try.
            string file = Path.GetTempPath() + "test";
            File.CreateText(file).Close();
            bool result = File.Exists("TEST");
            File.Delete(file);

            return result;
        }
    }