ShellBrowser .Net Edition
checkFileName Method (filename, extension, path)
NamespacesJam.ShellBackgroundContextMenucheckFileName(String, String, String)
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.
Declaration Syntax
C#Visual BasicVisual C++
public static string checkFileName(
	string filename,
	string extension,
	string path
)
Public Shared Function checkFileName ( _
	filename As String, _
	extension As String, _
	path As String _
) As String
public:
static String^ checkFileName(
	String^ filename, 
	String^ extension, 
	String^ path
)
Parameters
filename (String)
filename to be checked
extension (String)
extension of the filename
path (String)
path where the file is located
Return Value
A free filename or String.empty

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)