CloudinaryDotNet.Actions.FileDescription.FileDescription C# (CSharp) Метод

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
        public FileDescription(string filePath)
        {
            m_isRemote = Regex.IsMatch(filePath, "^ftp:.*|https?:.*|s3:.*|data:[^;]*;base64,([a-zA-Z0-9/+\n=]+)");
            m_path = filePath;

            if (!m_isRemote)
                m_name = Path.GetFileNameWithoutExtension(m_path);
            else
                m_name = m_path;
        }

Same methods

FileDescription::FileDescription ( string name, Stream stream ) : System