tags:

views:

154

answers:

1

How to set client name and referrer in the Post WebRequest in C#?

A: 

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
I guess "User-Agent" would work for the client name in the Headers.
Priyank Bolia
I see, sounds like UA is the closest then. Good luck!
o.k.w