For OpenFileDialog,
What are the differences between SafeFileNames and FileNames?
and Why is SafeFileNames
is safe
?
The answer is right there on the pages you linked. The "safe" filename doesn't include the path. Just the filename and the extension. The regular filename includes the full path.
The SafeFileName is safe because it doesn't expose the directory structure of your computer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With