且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在WPF应用程序中做广告?

更新时间:2023-11-22 16:13:28

首先,adsense不允许在桌面应用程序中使用,您可以寻找其他广告网络。还有其他广告网络,例如亚马逊合作伙伴,..等。您可以根据以下领域进行搜索:银行,零售。您可以查找/联系他们以获取有关桌面使用情况的条款和条件。



并非所有人都能为您提供.Net API。
如果允许在桌面上使用亚马逊:查看此
API



其次,涉及WPF的技术方面。
您可以建立一个网站来注入来自网络的广告。将URL嵌入到WPF应用程序的Web浏览器控件中。在台式机始终连接到Internet的情况下,这将起作用。



如果所有的门都关上了,而您仍然想从wpf应用程序中赚钱,您可以考虑在应用程序中使用各种供应商提供的工具栏。 / p>

希望这会有所帮助。


Is that possible? I know that services like Google Ads prohibit advertising in desktop applications. Is there a service that supports the WPF/.NET?

First,adsense being not allowed to be used in desktop apps , You can look for other advertising networks. There are other ad networks like amazon associates , .. etc . You can search for them according to the domains ex: banking, retails . You can look for/contact them for their terms and conditions on desktop usage.

And not all of them would provide you an API for .Net. If amazon is allowed for desktop usage: Look into this API

Secondly , w.r.t the technical aspects of WPF. You can have a website built to inject ads from your network . Embed the URL in the web browser control in your WPF applications. This would work on condition that the desktop is connected to internet all the time.

In case if all doors are closed , and you still want to make money from your wpf app , you can think about using toolbars provided by various vendors in your application.

Hope this helps.