public async Task Init() { AccountInfo accountInfo = await BulkClient.GetAccountInfoAsync(Constants.Site, Constants.User, Constants.Passwd); _client = new BulkClient(Constants.Site, Constants.User, Constants.Passwd, Helpers.BulkEndpoint(accountInfo)); }
public void Init() { var accountInfo = BulkClient.GetAccountInfo(Constants.Site, Constants.User, Constants.Passwd); _client = new BulkClient(Constants.Site, Constants.User, Constants.Passwd, Helpers.BulkEndpoint(accountInfo)); }