public static string GetSafeBaseImageName( string rawFilename, bool includeExtension )
Parameters
- rawFilename
- The string to use as the proposed file name (such as product sku)
- includeExtension
- If true file extension is included
Return Value
A string that is safe to use in forming a file name, or string.Empty if a file safe name is not possible.