Example #1
0
 public static ContentItemLocationWithMD5[] getConnectionToCopyMD5s(Connection connection, ContentItemLocationWithMD5[] localContentToSyncTargetFrom, string destinationCopyRoot)
 {
     DeviceOperationData dod = new DeviceOperationData
         {
             OperationRequestString = "SYNCCOPYCONTENT",
             OperationSpecificContentData = localContentToSyncTargetFrom,
             OperationParameters = new string[] { destinationCopyRoot}
         };
     dod = connection.Device.ExecuteDeviceOperation(dod);
     return dod.OperationSpecificContentData;
 }
Example #2
0
 public static ContentItemLocationWithMD5[] getConnectionContentMD5s(Connection connection, string[] downSyncFolders)
 {
     DeviceOperationData dod = new DeviceOperationData
         {
             OperationRequestString = "GETCONTENTMD5LIST",
             OperationParameters = downSyncFolders
         };
     dod = connection.Device.ExecuteDeviceOperation(dod);
     return dod.OperationSpecificContentData;
 }