资 源 简 介
LitS3 is a library written in C# that provides comprehensive and straightforward access to Amazon S3 for .NET developers.
Notably
Gives you typesafe objects instead of raw XML
Well-documented, highly optimized code
Uses the more efficient REST API
Currently supports most S3 features
Works in Mono+MS (see MonoNotes)
S3Service: A one-liner API
```
var s3 = new S3Service
{
AccessKeyID = Settings.Default.AccessKeyID,
SecretAccessKey = Settings.Default.SecretAccessKey
};
s3.ForEachBucket(Console.WriteLine);
//> Bucket "mybucket"
//> Bucket "myotherbucket"
//> Bucket "lits3-demo"
s3.AddObjectString("This is file one!", "lits3-demo", "File 1.txt");
s3.ForEachObject("lits3-demo", Console.WriteLine);
//> S3Object "File 1.txt"
//> Common Prefix "MyDirectory"
文 件 列 表
LitS3
.DS_Store
AccessControl.cs
AddObject.cs
AssemblyInfo.cs
bin
Bucket.cs
BucketAccess.cs
CopyObject.cs
CreateBucket.cs
DeleteBucket.cs
DeleteObject.cs
GetAllBuckets.cs
GetBucketLocation.cs
GetObject.cs
Identity.cs
ListEntries.cs
ListObjects.cs
LitS3.csproj
ObjectTransfer.cs
S3Authorizer.cs
S3ErrorCode.cs
S3Exception.cs
S3Headers.cs
S3Request.cs
S3Response.cs
S3Service.cs