摘要:
Silverlight虽然是以插件形式来显示的,但是它和JS以及HTML的交互还是很方便的,下面一一道来Silverlight得到浏览器的信息:BrowserInformation b = HtmlPage.BrowserInformation;lblInfo.Text = "Name: " + b.Name;lblInfo.Text += "\nBrowser Version: " + b.BrowserVersion.ToString();lblInfo.Text += "\nPlatform: " + b.Platform;lb 阅读全文