public OssClient(Uri endpoint, string accessId, string accessKey)
{
if (endpoint == null)
{
throw new ArgumentNullException(OssResources.ExceptionIfArgumentStringIsNullOrEmpty, "endpoint");
}
if (string.IsNullOrEmpty(accessId))
{
throw new ArgumentException(OssResources.ExceptionIfArgumentStringIsNullOrEmpty, "accessId");
}
if (string.IsNullOrEmpty(accessKey))
{
throw new ArgumentException(OssResources.ExceptionIfArgumentStringIsNullOrEmpty, "accessKey");
}
networkCredential = new NetworkCredential(accessId, accessKey);
httpClient = new HttpClient();
// httpClient.BaseAddress = endpoint;
}