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

string FlickrNet::Flickr::UploadPicture ( string  filename,
string  title,
string  description,
string  tags 
) [inline]

Uploads a file to Flickr.

filename The filename of the file to open.
title The title of the photograph.
description The description of the photograph.
tags A comma seperated list of the tags to assign to the photograph.
The id of the photo on a successful upload.
FlickrException Thrown when Flickr returns an error. see http://www.flickr.com/services/api/upload.api.html for more details.
Other exceptions may be thrown, see FileStream constructors for more details.

Definition at line 728 of file Flickr.cs.

References UploadPicture().

                  Stream stream = new FileStream(filename, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
                  return UploadPicture(filename, stream, title, description, tags, -1, -1, -1);

Generated by  Doxygen 1.6.0   Back to index