单一登录在移动设备上 [英] Single Sign On on mobile device
问题描述
我有一个在Windows Mobile 6.x上运行的本机应用程序。用户登录应用程序并使用它。收集的数据被发送到服务器,该服务器允许用户使用ASP.NET Web应用程序查看数据。
I have a native application running on Windows Mobile 6.x. The user logs into the application and uses it. The data collected is sent to a server which allows users to view data using a ASP.NET web application.
我现在想访问设备上的一些Web功能。我想使用WebBrowser控件来显示网页。但是,用户不必再次登录Web应用程序。 .NET Framework 3.5包含一个Navigate调用,可以发送PostData,该调用可用于通过Web站点对用户进行身份验证。但是,此API在.NETCF 3.5版本中不可用。我宁愿不在URL上发送用户名/密码。
I now would like to access some web functionality on the device. I want to use WebBrowser control to display web pages. However, user should not have to log into the web application again. .NET Framework 3.5 contains a Navigate call that can send PostData which can be used to authenticate the user with the web site. This API is, however, not available in .NETCF 3.5 version. I would rather not send username/password on the URL.
有没有办法可以在.NETCF 3.5中使用它?
Is there a way this can be acieved in .NETCF 3.5?
任何建议都会非常感谢。
Any suggestion will be greatly appreciated.
Best,
- Raj
Best,
- Raj
推荐答案
我认为最好的选择for You是使用HttpWebRequest类或本机方法HttpSendRequest。
I think that the best option for You is to use HttpWebRequest class or native method HttpSendRequest.
这篇关于单一登录在移动设备上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!