This project is read-only.
Renaming a folder

Availability: SharpBox 1.0.1

The following example shows how to rename an existing directory in the root of an existing cloud storage. This example uses the implemented drop box storage provider, so it needs also a valid dropbox configuration. To get the sample up and running an own dropbox account is neccessary. Additionally a valid application key and secret is needed. If you don't have one, use our test-application.

  // 1. create a folder in root directory
  ICloudDirectoryEntry newFolder = CloudStorage.CreateFolder("MyNewFolder", null);

  // 2. Rename the folder
  Assert.IsTrue(CloudStorage.RenameFileSystemEntry(newFolder, "RenamedFolder"));

Last edited Oct 3, 2010 at 1:15 PM by dei79, version 5


No comments yet.