I have a Winform application in which I check to see if the full file name exists in XML c:\somefolder\my file name.txt.
Unfortunately, XML contains html encoded strings, so c:\somefolder\my file name.txtit becomes c:/somefolder/my%20file%20name.txt(and not a change from backslash to forwardlash and% 20 instead of blankspace).
How to HTMLEncode strings in my winform application?
source
share