Table of contents
TOC
Collapse the table of content
Expand the table of content

FileFolderExtensions.VerifyIfUploadRequired Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Used to compare the server file to the local file. This enables users with faster download speeds but slow upload speeds to evaluate if the server file should be overwritten.

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static bool VerifyIfUploadRequired(this File serverFile, Stream localStream)

Parameters

serverFile

  Type: Microsoft.SharePoint.Client.File
  File located on the server.

localStream

  Type: System.IO.Stream
  Stream to validate against.

Return Value

Type: bool

See also

© 2018 Microsoft