I’m trying to download files using sharepoint link(path link) using urlmon.DLL in C#. It’s downloading full file sometimes and sometimes it’s creating corrupted file. Any solutions to resolve this?
I tried in vscode c#, it’s definitely downloading file but it’s not happening for every run