Dropbox .NET SDK
Show / Hide Table of Contents

Class UploadSessionAppendArg

The upload session append arg object

Inheritance
object
UploadSessionAppendArg
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Dropbox.Api.Files
Assembly: Dropbox.Api.dll
Syntax
public class UploadSessionAppendArg

Constructors

View Source

UploadSessionAppendArg(UploadSessionCursor, bool, string)

Initializes a new instance of the UploadSessionAppendArg class.

Declaration
public UploadSessionAppendArg(UploadSessionCursor cursor, bool close = false, string contentHash = null)
Parameters
Type Name Description
UploadSessionCursor cursor

Contains the upload session ID and the offset.

bool close

If true, the current session will be closed, at which point you won't be able to call UploadSessionAppendV2Async(UploadSessionAppendArg, Stream) anymore with the current session.

string contentHash

A hash of the file content uploaded in this call. If provided and the uploaded content does not match this hash, an error will be returned. For more information see our Content hash page.

Properties

View Source

Close

If true, the current session will be closed, at which point you won't be able to call UploadSessionAppendV2Async(UploadSessionAppendArg, Stream) anymore with the current session.

Declaration
public bool Close { get; protected set; }
Property Value
Type Description
bool
View Source

ContentHash

A hash of the file content uploaded in this call. If provided and the uploaded content does not match this hash, an error will be returned. For more information see our Content hash page.

Declaration
public string ContentHash { get; protected set; }
Property Value
Type Description
string
View Source

Cursor

Contains the upload session ID and the offset.

Declaration
public UploadSessionCursor Cursor { get; protected set; }
Property Value
Type Description
UploadSessionCursor
  • View Source
In this article
Back to top Dropbox .NET SDK