C# Class generic_cloud_storage_client.Google

Inheritance: ICloudRequest
Show file Open project: vcholan/generic-cloud-storage-client

Public Methods

Method Description
Authenticate ( ) : String

Authenticate using username and password

CreateFolder ( String folderName ) : System.Boolean

Create a folder inside the container

DeleteFile ( String fileName ) : System.Boolean

Delete a file

DeleteFolder ( String folderName ) : System.Boolean

Delete a folder

DownloadFile ( String fileName ) : System.Boolean

Download a file

ICloudRequest ( string filename ) : void
ListFiles ( ) : void

List all files in a folder

ListFolder ( ) : void

List all the folders

ListFolders ( ) : void
UploadFile ( String fileName ) : System.Boolean

Upload a file

Method Details

Authenticate() public method

Authenticate using username and password
public Authenticate ( ) : String
return String

CreateFolder() public method

Create a folder inside the container
public CreateFolder ( String folderName ) : System.Boolean
folderName String Folder name of string type
return System.Boolean

DeleteFile() public method

Delete a file
public DeleteFile ( String fileName ) : System.Boolean
fileName String File Name of String type
return System.Boolean

DeleteFolder() public method

Delete a folder
public DeleteFolder ( String folderName ) : System.Boolean
folderName String Folder name of String type
return System.Boolean

DownloadFile() public method

Download a file
public DownloadFile ( String fileName ) : System.Boolean
fileName String
return System.Boolean

ICloudRequest() public method

public ICloudRequest ( string filename ) : void
filename string
return void

ListFiles() public method

List all files in a folder
public ListFiles ( ) : void
return void

ListFolder() public method

List all the folders
public ListFolder ( ) : void
return void

ListFolders() public method

public ListFolders ( ) : void
return void

UploadFile() public method

Upload a file
public UploadFile ( String fileName ) : System.Boolean
fileName String
return System.Boolean