Class S3StorageClient
Simple Storage Service client.
Inherited Members
Namespace: FastReport.Cloud.StorageClient.S3
Assembly: FastReport.dll
Syntax
public class S3StorageClient : CloudStorageClient
Properties
CurrentBucket
Gets or sets bucket where will saved export.
Declaration
public string CurrentBucket { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FetchRegion
Gets or sets the area that is intended for fetching buckets.
Declaration
public string FetchRegion { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileName
Gets or sets filename.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Host
Gets or sets host S3.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UploadRegion
Gets or sets the area that is intended for uploading files.
Declaration
public string UploadRegion { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UseVirtualHost
Gets or sets a value indicating whether the virtual host style is used to request s3.
Declaration
public bool UseVirtualHost { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetListBuckets()
Get list of buckets names.
Declaration
public List<string> GetListBuckets()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> | List of buckets names |
InitSigner(String, String, String)
Initialize signer.
Declaration
public void InitSigner(string accessKeyId, string secretAccessKey, string region)
Parameters
Type | Name | Description |
---|---|---|
System.String | accessKeyId | Access key ID |
System.String | secretAccessKey | Secret access key |
System.String | region | Service region |
SaveMemoryStream(MemoryStream)
Saves a memory stream to cloud.
Declaration
protected override void SaveMemoryStream(MemoryStream ms)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | ms | The memory stream that should be saved. |
Overrides
Events
AfterUpload
Declaration
public event EventHandler AfterUpload
Event Type
Type | Description |
---|---|
System.EventHandler |
BeforeUpload
Declaration
public event EventHandler BeforeUpload
Event Type
Type | Description |
---|---|
System.EventHandler |