Click or drag to resize

EAPUtilCleanFilename Method (BrowserInfo, String)

Clean the provided filename replacing any characters that are invalid in Windows filenames with underbars. Additional cleaning may be added in the future with the intent of guraranteeing that the returned filename is a valid browser download filename. Note that this method could reasonably be called SafeFilename().

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static string CleanFilename(
	BrowserInfo browser,
	string filename
)

Parameters

browser
Type: NetQuarryBrowserInfo
The browser being used.
filename
Type: SystemString
The filename to clean.

Return Value

Type: String
The cleaned filename.
See Also