Click or drag to resize
OssClientGeneratePresignedUri Method (String, String, DateTime)
Generates the pre-signed GET url with specified expiration time

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntax
public Uri GeneratePresignedUri(
	string bucketName,
	string key,
	DateTime expiration
)

Parameters

bucketName
Type: SystemString
Bucket name
key
Type: SystemString
Object key
expiration
Type: SystemDateTime
Uri expiration time

Return Value

Type: Uri
signed url

Implements

IOssGeneratePresignedUri(String, String, DateTime)
See Also