OssClient Constructor (Uri, String, String) |
由用户指定的OSS访问地址、阿里云颁发的Access Key Id/Access Key Secret构造一个新的
OssClient实例。
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.2.0.0 (2.2.0)
Syntaxpublic OssClient(
Uri endpoint,
string accessKeyId,
string accessKeySecret
)
Parameters
- endpoint
- Type: SystemUri
OSS的访问地址。 - accessKeyId
- Type: SystemString
OSS的访问ID。 - accessKeySecret
- Type: SystemString
OSS的访问密钥。
See Also