예제 #1
0
        public void InitializeReturnsBasePrm()
        {
            using var carwingsClient = new CarwingsClient(new FakeHttpClientWrapper(Resources.InitializeResponse));

            var result = carwingsClient.Initialize();

            Assert.AreEqual("88dSp7wWnV3bvv9Z88zEwg", result.Baseprm);
        }
예제 #2
0
        public void Login(string username, string password, Region region)
        {
            var basePrm = CarwingsClient.Initialize().Baseprm;

            LoginResult = CarwingsClient.Login(username, password, region, basePrm);
        }