生成一个用指定方法访问OssObject的Uri。
Namespace: Aliyun.OpenServices.OpenStorageService
Assembly: Aliyun.OpenServices (in Aliyun.OpenServices.dll) Version: 1.0.5290.21916
Syntax
public Uri GeneratePresignedUri( string bucketName, string key, DateTime expiration, SignHttpMethod method )
Parameters
- bucketName
- Type: SystemString
Bucket名称。 - key
- Type: SystemString
Object的Key - expiration
- Type: SystemDateTime
Uri的超时时间。 - method
- Type: Aliyun.OpenServices.OpenStorageServiceSignHttpMethod
访问Uri的方法
Return Value
Type: Uri访问OssObject的Uri。
Implements
IOssGeneratePresignedUri(String, String, DateTime, SignHttpMethod)See Also