I have an app that handles a silent install script, and I am trying to verify a user's 'Install Path' selection as being a local directory or network. I don't want to allow them to select a mapped drive for installing to.
1. FolderBrowserDialog opens
2. User selects 'Z:\Programs' as install path
3. App checks if 'Z:\' is local or network path.
4. App alerts user that the path selected in invalid and to try again.
Does anyone know the best way to handle this? I've thought about checking UNC paths and validating on them, but it seems like VB.Net should have some built-in handlers for this type of validation.
Your help is much appreciated!