Skip to content

Simply a file that we use to interact with the Scaleway Object Storage API

Notifications You must be signed in to change notification settings

dymek91/scaleway-object-storage-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

scalaway-object-storage-csharp

Simply a file that we use to interact with the Scaleway Object Storage API

How to use

Examples

// Get the last version
Console.WriteLine(await ScwObjectStorage.GetStringObjectByName("myBucket", "myObjectFile.txt"));
// Get all versions
Dictionary<DateTime, string> versions = await ScwObjectStorage.GetAllVersionsFromAnObject("myBucket", "myObjectFile.txt");
foreach (var item in versions)
{
    Console.WriteLine("Version " + item.Key.ToString("dd/MM/yyyy HH:mm:ss"));
    Console.WriteLine(await ScwObjectStorage.GetStringObjectByName("myBucket", "myObjectFile.txt", item.Value));
}

About

Simply a file that we use to interact with the Scaleway Object Storage API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages