Click or drag to resize

BackgroundContextMenuCheckFileName Method

Check if given filename already exists in given path. If true, tries adding a (1), (2), (3) or (4). If they exist too, it returns an empty string.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.1
Syntax
public static string CheckFileName(
	string filename,
	string extension,
	string path
)

Parameters

filename
Type: SystemString
filename to be checked
extension
Type: SystemString
extension of the filename
path
Type: SystemString
path where the file is located

Return Value

Type: String
A free filename or String.empty
See Also