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

string FlickrNet::Flickr::UploadPicture ( string  filename,
string  title,
string  description,
string  tags,
bool  isPublic,
bool  isFamily,
bool  isFriend 
) [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.
isPublic True if the photograph should be public and false if it should be private.
isFriend True if the photograph should be marked as viewable by friends contacts.
isFamily True if the photograph should be marked as viewable by family contacts.
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 747 of file Flickr.cs.

References UploadPicture().

                  Stream stream = new FileStream(filename, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
                  return UploadPicture(filename, stream, title, description, tags, isPublic?1:0, isFamily?1:0, isFriend?1:0);

Generated by  Doxygen 1.6.0   Back to index