Rajasekarrajasekar.dev·Jun 27, 2024How to Upload a File to Network File Share with Credentials using C# (.NET Core)Sometimes, we need to write a file to a Windows shared network path from a C# web application so others can use it. In my case, the shared file will be used by a PowerBI report. Using the WindowsIdentity.RunImpersonated method, the following code ope...207 readsC#Add a thoughtful commentNo comments yetBe the first to start the conversation.