| OssClient Constructor (String, ICredentialsProvider) | 
            Creates an instance with specified credential information.
            
 
Namespace: Aliyun.OSSAssembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.8.0.0 (2.8.0)
Syntaxpublic OssClient(
	string endpoint,
	ICredentialsProvider credsProvider
)
Public Sub New ( 
	endpoint As String,
	credsProvider As ICredentialsProvider
)
public:
OssClient(
	String^ endpoint, 
	ICredentialsProvider^ credsProvider
)
new : 
        endpoint : string * 
        credsProvider : ICredentialsProvider -> OssClientParameters
- endpoint
 - Type: SystemString
OSS endpoint - credsProvider
 - Type: Aliyun.OSS.Common.AuthenticationICredentialsProvider
Credentials information 
See Also