Search Results for

    Show / Hide Table of Contents

    Class UploadableFile

    A file that can be uploaded.

    Inheritance
    object
    UploadableFile
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Ingenico.Connect.Sdk
    Assembly: connect-sdk-dotnet.dll
    Syntax
    public class UploadableFile

    Constructors

    UploadableFile(string, Stream, string, long)

    Declaration
    public UploadableFile(string fileName, Stream content, string contentType, long contentLength = -1)
    Parameters
    Type Name Description
    string fileName
    Stream content
    string contentType
    long contentLength

    Properties

    Content

    A stream with the file's content.

    Declaration
    public Stream Content { get; }
    Property Value
    Type Description
    Stream

    ContentLength

    The file's content length, or -1 if not known.

    Declaration
    public long ContentLength { get; }
    Property Value
    Type Description
    long

    ContentType

    The file's content type.

    Declaration
    public string ContentType { get; }
    Property Value
    Type Description
    string

    FileName

    The name of the file.

    Declaration
    public string FileName { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top Copyright (c) 2016 Global Collect Services B.V.