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

Identifies the map format from the specified file name.

Namespace: fCraft.MapConversion
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public static MapFormat Identify(
	string fileName,
	bool tryFallbackConverters
)

Parameters

fileName
String
The name of the file.
tryFallbackConverters
Boolean
Whether or not to attempt to try other converters if this fails.

Return Value

Map format of the specified file.

Exceptions

ExceptionCondition
System..::..ArgumentNullException If fileName is null.
System.IO..::..FileNotFoundException If file/directory with the given name is missing.

See Also