public PhotoLocation PhotosGeoGetLocation(string photoId)
{
Hashtable parameters = new Hashtable();
parameters.Add("method", "flickr.photos.geo.getLocation");
parameters.Add("photo_id", photoId);
FlickrNet.Response response = GetResponseCache(parameters);
if( response.Status == ResponseStatus.OK )
{
return response.PhotoInfo.Location;
}
else
{
if( response.Error.Code == 2 )
return null;
else
throw new FlickrException(response.Error);
}
}