Пример #1
0
        public async Task AWS()
        {
            Logger.LogDelegate += Utils.Print;
            LeanCloud.Initialize("UlCpyvLm8aMzQsW6KnP6W3Wt-MdYXbMMI", "PyCTYoNoxCVoKKg394PBeS4r", "https://ulcpyvlm.api.lncldglobal.com");
            LCFile file = new LCFile("avatar", APKFilePath);
            await file.Save();

            TestContext.WriteLine(file.ObjectId);
            Assert.NotNull(file.ObjectId);
        }
Пример #2
0
 public void SetUp()
 {
     Logger.LogDelegate += Utils.Print;
     LeanCloud.Initialize("ikGGdRE2YcVOemAaRbgp1xGJ-gzGzoHsz", "NUKmuRbdAhg1vrb2wexYo1jo", "https://ikggdre2.lc-cn-n1-shared.com");
 }