ShopToolsUtilGetFileExtension Method

Return the file extension of the provided filename.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static string GetFileExtension(
	string filename
)

Parameters

filename  String
The filename for which the extension will be returned.

Return Value

String
The extension portion of the provided filename, including the dot.

Remarks

This version of the method interprets all dots in the name as being included in the file extension, providing for the multi-extension concept.

See Also