Search Results for

    Show / Hide Table of Contents

    Interface IUploadService

    Operations for uploading content

    Namespace: ImageVault.Common.Services
    Assembly: ImageVault.Common.dll
    Syntax
    public interface IUploadService : IService

    Methods

    UploadFileContent(Stream, String)

    Uploads a part of (or whole) the file

    Declaration
    string UploadFileContent(Stream content, string uploadFileId)
    Parameters
    Type Name Description
    System.IO.Stream content

    The content to upload

    System.String uploadFileId

    The uploadFileId of a file to append to or null if we are creating a new file

    Returns
    Type Description
    System.String

    The uploadFileId of the file

    Remarks

    Use this to upload a file. Upload the whole file in one call or by parts. The returned uploadFileId is used to upload parts. When the whole file is uploaded, call StoreContentInVault(String, String, String, Int32) to finalize the upload and register it in ImageVault.

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022