Setting WebClient identify in C# for AWStat -


i working on c# application downloads xml web server using webclient. how set identity of application can see in web servers awstat? try both

    mywebclient.headers["user-agent"] = "wolfenstein's program"; 

and

    mywebclient.headers.add("user-agent", "wolfenstein's program"); 

but still shows "unknown robot" in awstat. want see how traffic comes application.


Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -