C# Класс CloudinaryDotNet.Actions.FileDescription

Represents a file for uploading to cloudinary
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
FileDescription ( string filePath ) : System

Constructor to upload file by path

FileDescription ( string name, Stream stream ) : System

Constructor to upload file from stream

Приватные методы

Метод Описание
GetFileLength ( ) : long
IsLastPart ( ) : bool

Описание методов

FileDescription() публичный Метод

Constructor to upload file by path
public FileDescription ( string filePath ) : System
filePath string Either URL (http/https/s3/data) or local path to file
Результат System

FileDescription() публичный Метод

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)
Результат System