[Mono-list] Determining case sensitive environments

Angel Marin anmar at anmar.eu.org
Tue Dec 9 03:20:49 EST 2008

Chris Capon wrote:
> I'm building a cross platform application in .NET which uses regular
> expressions for file pattern matching.  The application runs under Windows
> and Linux (so far).
> When comparing patterns with paths, the code needs to know whether the file
> system expects filenames to be case insensitive (Windows) or if it expects
> filenames to match exactly (Linux).
> I'm trying to find the best way to tell if an environment is case sensitive
> or not.

or you can make mono behave case insensitively in all platforms:


Angel Marin

More information about the Mono-list mailing list