C# Class NeoSmart.Web.S3

Afficher le fichier Open project: neosmart/web

Méthodes publiques

Méthode 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 méthode

public static GetCustomExpiringLink ( string cname, string objectName, System.TimeSpan expires ) : string
cname string
objectName string
expires System.TimeSpan
Résultat string

GetExpiringLink() public static méthode

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
Résultat string

SetCredentials() public static méthode

public static SetCredentials ( string username, string password ) : void
username string
password string
Résultat void