How to change User Agent string frequently?
- From: mladen074@xxxxxxxxx
- Date: 22 Oct 2006 16:27:50 -0700
Hi,
I'm using:
UrlMkSetSessionOption(URLMON_OPTION_USERAGENT, UserAgent,
strlen(UserAgent), 0);
to set the User Agent string and it works. I'm simply using the
WebBrowser control to embed a little webbrowser functionality in my
app. but once I call UrlMkSetSessionOption() and change the user agent
string it cannot be changed with further calls :(
Can I anyhow change the user agent string multiple times?
Thanks in advance,
Mladen.
.
- Follow-Ups:
- Re: How to change User Agent string frequently?
- From: jiangsheng[MVP]
- Re: How to change User Agent string frequently?
- Prev by Date: Re: Accessing images in Webbrowser control to
- Next by Date: Re: How to change User Agent string frequently?
- Previous by thread: New IE Add-on Developer Forum
- Next by thread: Re: How to change User Agent string frequently?
- Index(es):
Relevant Pages
|
Loading