[]
        
(Showing Draft Content)

C1.Web.Api.Storage.CloudStorage.OneDriveStorage

OneDriveStorage Class

OneDrive cloud storage

Inheritance
OneDriveStorage
Namespace: C1.Web.Api.Storage.CloudStorage
Assembly: C1.Web.Api.Cloud.dll
Syntax
public class OneDriveStorage : ICloudStorage, IFileStorage, IStorage

Constructors

Name Description
OneDriveStorage(string, string)

Constructor OneDrive

OneDriveStorage(string, string, string)

Constructor OneDrive

Properties

Name Description
AccessToken

File Path

Exists

Exists property

Name

File Name

Path

File Path

ReadOnly

ReadOnly property

Methods

Name Description
CreateFolder()

Create new folder with the specified path

Delete()

Deletes the file with the specified path.

List()

Gets all files and folders within the specified path.

MoveFile()

Move files from current path to destination path

Read()

Gets the file with the specified path.

Write(Stream)

Uploads file with the specified path.