예제 #1
0
        public void TestCreateInviteBankAndGetQrCode()
        {
            var draftId = GetShareInviteId();

            var qrContent = DraftShareInviteBankQrCodeContent.List(API_CONTEXT, USER_ID, draftId).Value;

            var fileOut = new FileInfo(FILENAME_QR_CODE_IMAGE);

            fileOut.Directory.Create();
            File.WriteAllBytes(fileOut.FullName, qrContent);
        }
        public void TestCreateInviteBankAndGetQrCode()
        {
            SetUpTestCase();

            var draftId = GetShareInviteId();

            var qrContent = DraftShareInviteBankQrCodeContent.List(draftId).Value;

            var fileOut = new FileInfo(FilenameQrCodeImage);

            fileOut.Directory.Create();
            File.WriteAllBytes(fileOut.FullName, qrContent);
        }