I am trying to connect to skydrive with this code, it is console C# application:

var client = new SkyDriveServiceClient();

client.LogOn("username", "password");

and I got this exception: The operation has timed out.

Anyone know what is solution for this problem?

有帮助吗?

解决方案

Ok, download the latest version (Changset 68942) from this location. After download open the project (located in folder trunk/src/SkyDriveServiceClient.sln) in Visual Studio and change the variable SkyDocsServiceUri in the class SkyDocsServiceClient to the following:

public static readonly Uri SkyDocsServiceUri = new Uri("https://docs.live.net/SkyDocsService.svc");

After the change compile the project to build the assembly file. Then you need to reference the assembly from your project and try to execute your code again.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top