Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. source -> \Share1someFile.txt
  2. destination -> \Share1FooBarsomeFile.txt
  3.  
  4. // Start the copy operation.
  5. destinationFile.StartCopy(sourceFile);
  6.  
  7. public static void MoveTo(this CloudFile source, CloudFileDirectory directory)
  8. {
  9. var target = directory.GetFileReference(source.Name);
  10. target.StartCopy(source);
  11. source.Delete();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement