Click or drag to resize
OssClientGeneratePresignedUri Method (String, String, SignHttpMethod)
使用默认过期时间(自现在起15分钟后)生成一个用指定方法访问OssObject的Uri。

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntax
public Uri GeneratePresignedUri(
	string bucketName,
	string key,
	SignHttpMethod method
)

Parameters

bucketName
Type: SystemString
Bucket名称。
key
Type: SystemString
Object的Key
method
Type: Aliyun.OSSSignHttpMethod
访问Uri的方法

Return Value

Type: Uri
访问OssObject的Uri。

Implements

IOssGeneratePresignedUri(String, String, SignHttpMethod)
See Also