PresignedPutObject() public méthode

Presigned Put url.
public PresignedPutObject ( string bucketName, string objectName, int expiresInt ) : string
bucketName string Bucket to retrieve object from
objectName string Key of object to retrieve
expiresInt int Expiration time in seconds
Résultat string
 static int Main()
 {
     /// Note: s3 AccessKey and SecretKey needs to be added in App.config file
     /// See instructions in README.md on running examples for more information.
     var client = new MinioClient("s3.amazonaws.com", ConfigurationManager.AppSettings["s3AccessKey"],
                                  ConfigurationManager.AppSettings["s3SecretKey"]);
     Console.Out.WriteLine(client.PresignedPutObject("my-bucketname", "my-objectname", 1000));
     return 0;
 }
 static int Main(string[] args)
 {
     var client = new MinioClient("https://s3.amazonaws.com", "ACCESSKEY", "SECRETKEY");
     Console.Out.WriteLine(client.PresignedPutObject("bucketName", "objectName", 1000));
     return 0;
 }