WPF C# OpenFileDialog does not show Network Storage

703 views Asked by At

At the moment i am working on a C# WPF-Project. It uses the Microsoft.Win32.OpenFileDialog and the System.Windows.Forms.FolderBrowserDialog, which both work as expected except for the following problem:

They both do not show my Networkdrives! While the default Windows explorer (Win 8.1 btw.) and the OpenFileDialog in an older Winforms-Project do show all the devices, the WPF Application only shows local drives. I have no Idea why this happens and how to fix it. Any ideas?

1

There are 1 answers

1
topograph On BEST ANSWER

Apparently this happens when the application runs with elevated permissions like bernd commented on my question.

Look at this MSDN Post for all the details.