Click or drag to resize
OssClientGeneratePresignedUri Method (String, String, DateTime, SignHttpMethod)
Generates the presigned url with specified method and 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,
	SignHttpMethod method
)

Parameters

bucketName
Type: SystemString
Bucket name
key
Type: SystemString
Object key
expiration
Type: SystemDateTime
Uri expiration time
method
Type: Aliyun.OSSSignHttpMethod
HTTP method

Return Value

Type: Uri
signed url

Implements

IOssGeneratePresignedUri(String, String, DateTime, SignHttpMethod)
See Also