[This is preliminary documentation and is subject to change.]

Checks whether the file exists in a specified way (case-sensitive or case-insensitive)

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)

Syntax

   
 C# 
public static bool FileExists(
	string fileName,
	bool caseSensitive
)

Parameters

fileName
String
filename in question
caseSensitive
Boolean
Whether check should be case-sensitive or case-insensitive.

Return Value

true if file exists, otherwise false

See Also