C# 中具有区域设置的应用程序中的广告
在我的应用程序中,我有显示广告的弹出窗口。但我想这样做,例如在德国将以德语显示广告,在法国以法语显示广告等。我有 WebBrowser 组件,我将带有 html 文件路径的 Uri url 传递给我的服务器上的广告。
this.webBrowser.Url = new Uri("http://mydomain.com/ads/ad2.html");
在 ad2.html 中,我可以识别 ip,并基于此我可以重定向到适当的 html 文件。 问题是,在应用程序中,当网站重新加载时,我听到声音(tik)。
谢谢
In my application I have popup where ad is showing. But I want to do that in for example Germany will be showed ad in german language, in France in French language etc. I have WebBrowser component and I pass to Uri url with path of html file with ad which is placed on my serwer.
this.webBrowser.Url = new Uri("http://mydomain.com/ads/ad2.html");
In ad2.html I can do recognition of ip and based on this I can redirect to appropriate html file.
The problem is that in application I hear voice (tik) when site is reloading.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下次去网上搜索一下。
一些链接:
-1:http://social.msdn.microsoft.com/forums/en-US/winforms/thread/e72b37d2-d20b-4a59-8560-24a10b17db97/
-2:带有数据库的国家/地区的 IP 地址
-3:查看我网页的人数
search the intwerwebs next time.
some links:
-1: http://social.msdn.microsoft.com/forums/en-US/winforms/thread/e72b37d2-d20b-4a59-8560-24a10b17db97/
-2: Ip address to country with database
-3: Count of People who view my web page