怎样才能从.NET客户端应用程序加载的URL [英] How does one load a URL from a .NET client application
本文介绍了怎样才能从.NET客户端应用程序加载的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么是preferred方式使用C#和.NET Framework的Windows胖客户端应用程序中打开一个网址?我想它使用的默认浏览器。
What is the preferred way to open a URL from a thick client application on Windows using C# and the .NET framework? I want it to use the default browser.
推荐答案
以下code肯定的作品:
The following code surely works:
Process.Start("http://www.yoururl.com/Blah.aspx");
它打开了默认浏览器(从技术上讲,处理HTTP的URI的默认程序)。
It opens the default browser (technically, the default program that handles HTTP URIs).
这篇关于怎样才能从.NET客户端应用程序加载的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文