ListChanges Method
Lists changes to the drive.
Syntax
[VB.NET] Public Sub ListChanges()
[C#] public void ListChanges();
Remarks
This method may be used to list changes to the drive. This may be used to check for changes when maintaining a local copy of the drive.
After calling this method the current page of changes will be returned. Changes are represented as normal resources and the following properties are populated:
- ResourceCount
- ResourceCRC32Hash
- ResourceCreatedDate
- ResourceData
- ResourceDeleted
- ResourceDescription
- ResourceDownloadURL
- ResourceETag
- ResourceId
- ResourceIndex
- ResourceMarker
- ResourceMIMEType
- ResourceModifiedDate
- ResourceName
- ResourceParentId
- ResourceParentPath
- ResourcePath
- ResourceSHA1Hash
- ResourceSize
- ResourceType
- ResourceWebURL
Continue calling this method to list additional changes until ResourceCount is 0, indicating there are no more changes.
ResourceMarker will be populated with a value that can be used to request changes from this state onward. Save the ResourceMarker value for future use. The next time changes are listed set ResourceMarker to the saved value to request changes from that time forward. This allows only new changes to be listed, instead of listing all changes.
NOTE: This method has a corresponding asynchronous version (ListChangesAsync) for use in the WinRT environment.