Client-Side Encryption

Windows Phone

Note
The integration method outlined below is deprecated. Learn more about upgrading to the Braintree SDKs.

InstallationAnchorIcon

There are a couple of ways to use the Windows Phone client encryption library.

Windows Phone class libraryAnchorIcon

To import the Windows Phone class library, follow the following steps.
  1. Clone the source code from Github.
  2. Import the Braintree Windows Phone class library into your solution.
  3. Add the library as a project dependency and make sure to reference the library.

Source codeAnchorIcon

github | tgz | zip

Integration examplesAnchorIcon

github | tgz | zip

BugsAnchorIcon

If you run into a bug, contact us or create an issue on the GitHub issue tracker.

Quick start exampleAnchorIcon

using System;
using BraintreeEncryption.Library;

namespace BraintreeExample
{
    class Program
        {
            static void Main(string[] args)
            {
                var braintree = new Braintree("your-client-side-encryption-key");
                var encryptedCreditCardNumber = braintree.Encrypt("4111111111111111");
                var encryptedCvv = braintree.Encrypt("111");
                var encryptedExpirationDate = braintree.Encrypt("01/2014");
            }
        }
    }
}

If you accept cookies, we’ll use them to improve and customize your experience and enable our partners to show you personalized PayPal ads when you visit other sites. Manage cookies and learn more