Click or drag to resize
OssClientGeneratePresignedUri Method (String, String)
使用默认过期时间(自现在起15分钟后)生成一个用HTTP GET方法访问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
)

Parameters

bucketName
Type: SystemString
Bucket名称。
key
Type: SystemString
Object的Key

Return Value

Type: Uri
访问OssObject的Uri。

Implements

IOssGeneratePresignedUri(String, String)
See Also