R
R
Roman Rakzin2017-10-13 21:30:07
C++ / C#
Roman Rakzin, 2017-10-13 21:30:07

How to make the standard .NET browser pretend to be chrome?

I open a certain site, but it does not want to work with a standard browser.
How to make it send other headers and pretend to be chrome?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cicatrix, 2017-10-13
@cicatrix

1. Download Fiddler2 (this is generally a must have)
See what Chrome sends as a useragent
2. When you form an HttpWebRequest, you write a chrome string to the UserAgent property.
Here are common user agent strings for it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question