To retrieve thumbnail

Oct 3, 2011 at 10:50 AM

Hi, Iam need to retrieve thumbnail for the files.

My code is:

client.LogOn("prathiba@live.com", "mypassword");
SkyDriveSession _clientse = client.Session;
_userclient = new UsersServiceClient(_clientse.UsersServiceSession);
_userclient.Timeout = 2147483647;

_userclient.LogOn(_clientse.Cid);

I get an Exception as LogOn FailException was unhandle Object reference not set to an instance of an object.