C# Class CloudinaryDotNet.Actions.FileDescription

Represents a file for uploading to cloudinary
Afficher le fichier Open project: cloudinary/CloudinaryDotNet Class Usage Examples

Méthodes publiques

Méthode Description
FileDescription ( string filePath ) : System

Constructor to upload file by path

FileDescription ( string name, Stream stream ) : System

Constructor to upload file from stream

Private Methods

Méthode Description
GetFileLength ( ) : long
IsLastPart ( ) : bool

Method Details

FileDescription() public méthode

Constructor to upload file by path
public FileDescription ( string filePath ) : System
filePath string Either URL (http/https/s3/data) or local path to file
Résultat System

FileDescription() public méthode

Constructor to upload file from stream
public FileDescription ( string name, Stream stream ) : System
name string Resource name
stream Stream Stream to read from (will be disposed with this object)
Résultat System