Click or drag to resize
OssClient Constructor (String, String, String, String)
由用户指定的OSS访问地址、STS提供的临时Token信息(Access Key Id/Access Key Secret/Security Token) 构造一个新的OssClient实例。

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.1.0 (2.5.1)
Syntax
public OssClient(
	string endpoint,
	string accessKeyId,
	string accessKeySecret,
	string securityToken
)

Parameters

endpoint
Type: SystemString
OSS的访问地址。
accessKeyId
Type: SystemString
STS提供的临时访问ID。
accessKeySecret
Type: SystemString
STS提供的访问密钥。
securityToken
Type: SystemString
STS提供的安全令牌。
See Also