c# - Simulate a request from a IE Client with WebClient class? -


I am downloading the file with the web client class in .NET 3.5. I would like to make sure that on the server side, The requested files appear to be downloaded from an IE client. What exactly do I want to change?

Do I have to copy the header information generated by IE into the header property of the Webmail object? Do I need to do something else?

Thanks

According to your needs, just be enough to set user agent header One example is


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -