I have an existing application which: Creates folders and saves files in a users Documents folder. These file paths are cached so they can quickly reopen them at a later time.
The Documents folder is determined by
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
Some users are using OneDrive. When they save the file, OneDrive automatically moves them from Documents to a defined OneDrive folder so the original cached paths are no longer valid.
Is there a way to determine where these might get redirected to so the software can check? Is there a better way to look at redirected paths for C#/.NET?
I am not seeing anything in SpecialFolders and my searches aren't helping.