Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

User FlickrNet::Flickr::TestLogin (  )  [inline]

Test the logged in state of the current Filckr object.

Returns:
The User object containing the username and userid of the current user.

Definition at line 2904 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.test.login");

                  FlickrNet.Response response = GetResponseCache(parameters);

                  if( response.Status == ResponseStatus.OK )
                  {
                        return response.User;
                  }
                  else
                  {
                        throw new FlickrException(response.Error);
                  }
            }


Generated by  Doxygen 1.6.0   Back to index