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

Licenses FlickrNet::Flickr::PhotosLicensesGetInfo (  )  [inline]

Gets a list of all current licenses.

Returns:
Licenses instance.

Definition at line 2075 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.photos.licenses.getInfo");
                  parameters.Add("api_key", _apiKey);

                  FlickrNet.Response response = GetResponseCache(parameters);

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


Generated by  Doxygen 1.6.0   Back to index