Tag: windows live id

Windows Live SDK没有LogOut()

Microsoft Live ID现在称为Microsoft帐户。 话虽如此,假设我以sam@email.com登录Windows 8并运行应用程序。 该应用程序使用Live SDK访问我的Microsoft帐户配置文件。 但是,在它可以这样做之前,我必须明确许可并登录。到目前为止,完美。 虽然我将应用程序权限授予sam@email.com我想将其更改为janet@email.com因此我单击应用程序的Logout按钮,从SDK查询LiveAuthClient.CanLogout() 。 令人困惑的是,SDK返回false(我无法注销)。 为什么不? 一旦当前Windows 8用户使用Windows Live SDK登录到Windows 8应用程序,他们如何注销(当CanLogOut()始终返回false时)? 是否有设置或允许这样的东西? 事实certificate,这个问题的答案(http://stackoverflow.com/questions/13294496/can-the-windows-8-live-sdk-use-another-microsoft-account-other-than-the-current)是不准确的。

通过HttpRequest登录Windows Live ID

我希望通过HttpRequest / HttpResponse与一个网站进行交互。 但是网络需要通过Windows Live ID登录。 我转到实时登录页面,但我无法从登录页面获得任何可用的响应。 用于访问登录页面的代码: var request = (HttpWebRequest)WebRequest.Create(“http://login.live.com/”); request.Timeout = 30000; request.UserAgent = “Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729)”; request.Accept = “text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8”; request.Headers.Add(“Accept-Language”, “en-us,en;q=0.5”); request.Headers.Add(“Accept-Charset”, “ISO-8859-1,utf-8;q=0.7,*;q=0.7”); request.Headers.Add(“Keep-Alive”, “300”); request.ContentType = “application/x-www-form-urlencoded”; request.CookieContainer = new CookieContainer(); request.Method = WebRequestMethods.Http.Get; var response = (HttpWebResponse)request.GetResponse(); 并回应: 必须允许Cookie […]

通过Windows Live ID登录桌面应用程序

我想为我的桌面应用程序创建一个登录表单,用户可以使用Windows Live ID。 我在manage.dev.live.com中创建了一个应用程序并使用了Desktop Implementation部分。 我使用WebBrowser控件并导航到给定的地址。 但我不知道如何收到用户的令牌。 如果我犯了错误,请告诉我如何解决这个问题。