Returns the name of a non-existant file in the passed-in baseDirectory.

Declaration Syntax

Public Overridable Function GetFileName( _
	ByVal request As Request, _
	ByVal baseDirectory As DirectoryInfo _
) As String
public virtual string GetFileName(
	Request request, 
	DirectoryInfo baseDirectory
);
public: virtual String GetFileName(
	Request request, 
	DirectoryInfo baseDirectory
);
public function GetFileName(
	request : Request, 
	baseDirectory : DirectoryInfo
) : String;

Parameters

request
The Request for which a file name should be created. 
baseDirectory
The directory into which the file will be saved. 

Return Value

The document name portion of the System.Uri of the request with all invalid characters and path seperators replaced by underscores.

Requirements

Namespace: Eas.WebCrawler.PlugIns.FileNamers
Assembly: Eas.WebCrawler.PlugIns (eas.webcrawler.plugins.dll)

See Also

SimpleUrlNamer Class | SimpleUrlNamer Members | Eas.WebCrawler.PlugIns.FileNamers Namespace