I'm downloading images from various pages. I'd like for the program to take the address of the page and filter out any letters that are not suitable for a file name (such as / or ?).
I know many of these symbols so I could just put them in a hardcoded list and remove them from the string by looping string.replace but I probably don't know all of them and googling didn't yield an "official" list of what symbols microsoft deems suitable.
Knowing .net though, I figured there is probably a function that can either fix the string or identify the bad symbols for filename purposes, is there any?