C# Class NeoSmart.Web.S3

Exibir arquivo Open project: neosmart/web

Public Methods

Method Description
GetCustomExpiringLink ( string cname, string objectName, System.TimeSpan expires ) : string
GetExpiringLink ( string bucket, string objectName, System.TimeSpan expires, S3LinkType linkType = S3LinkType.Subdomain, bool secure = false ) : string
SetCredentials ( string username, string password ) : void

Method Details

GetCustomExpiringLink() public static method

public static GetCustomExpiringLink ( string cname, string objectName, System.TimeSpan expires ) : string
cname string
objectName string
expires System.TimeSpan
return string

GetExpiringLink() public static method

public static GetExpiringLink ( string bucket, string objectName, System.TimeSpan expires, S3LinkType linkType = S3LinkType.Subdomain, bool secure = false ) : string
bucket string
objectName string
expires System.TimeSpan
linkType S3LinkType
secure bool
return string

SetCredentials() public static method

public static SetCredentials ( string username, string password ) : void
username string
password string
return void