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)
Syntaxpublic static string CleanFilename(
BrowserInfo browser,
string filename
)
Public Shared Function CleanFilename (
browser As BrowserInfo,
filename As String
) As String
Parameters
- browser
- Type: NetQuarryBrowserInfo
The browser being used. - filename
- Type: SystemString
The filename to clean.
Return Value
Type:
StringThe cleaned filename.
See Also