I want to download the file by reference (for example, http://example.com/test.dll ), but I get HTTP / 1.1 403 Forbidden in response. I understand what the problem is, I need to ask the user an agent, but how to do it? I use URLDownloadToFile (), tried to use curl, but failed to connect it.
Language - C ++