Using .net >= 4, is there a way to access UNC path with authentication (without using Win32 API)? Basically for a given folder path, i want to get its directory listing and load file content.
I found a 6 year old solution with Win32 API Accessing a Shared File (UNC) From a Remote, Non-Trusted Domain With Credentials Is there a modern solution?