How to set client name and referrer in the Post WebRequest in C#?
Asked
Active
Viewed 2,391 times
1 Answers
0
I'm not too sure about Client Name, but for Referer, you can use the Headers property to add these info.
See the WebHeaderCollection Class for more information and example of header types.
You can consider using HttpWebRequest with the Referer Property and others as well.

o.k.w
- 25,490
- 6
- 66
- 63
-
1I guess "User-Agent" would work for the client name in the Headers. – Priyank Bolia Jan 07 '10 at 07:50
-
I see, sounds like UA is the closest then. Good luck! – o.k.w Jan 07 '10 at 07:52