I can successfully create a mapped drive (drive with a corresponding letter) using C#. What I haven't been able to reproduce is adding a "Network location" in C#. Everything I've looked up points back to some form or variation of "net use.." - When I use the built-in wizard the newly created "Network location" is stored in %APPDATA%\Roaming\Microsoft\Windows\Network Shortcuts - The properties point to a unique url and as best I can tell it is a special type of folder shortcut.
Does anyone know if it is possible to add a "Network Location" in C#, and not a mapped drive?
Any help is appreciated. Thanks.
