标签:style blog http io ar 使用 sp on div
使用方法
public partial class HomeView : PhoneApplicationPage
{
public HomeView()
{
InitializeComponent();
Loaded += HomeView_Loaded;
}
private void HomeView_Loaded(object sender, RoutedEventArgs e)
{
UserAgentHelper.GetUserAgent(
LayoutRoot,
userAgent =>
{
// TODO: Store this wherever you want
ApplicationSettings.Current.UserAgent = userAgent;
});
}
}
详细说明:http://wp.662p.com/thread-7945-1-1.html
获取 Windows Phone 的 User-Agent 字符串
标签:style blog http io ar 使用 sp on div
原文地址:http://www.cnblogs.com/liniuzen/p/4110252.html