public async Task Save_Test() { var containerName = "b2b"; var blobName = "appsettings.json"; var tenantId = Guid.NewGuid(); var file = new FileStream("appsettings.json", FileMode.Open); using (_currentTenant.Change(tenantId, "test")) { var blod = _calculator.Calculate(GetArgs(containerName, blobName)); var tt = new BlobProviderSaveArgs( containerName, new BlobContainerConfiguration().UseTencentCloudCos(cos => { //cos.AppId = ""; //cos.SecretId = ""; //cos.SecretKey = ""; //cos.ContainerName = ""; cos.Region = EnumUtils.GetValue(CosRegion.AP_Guangzhou); }), blobName, file, true ); await _blob.SaveAsync(tt); } }