A example of authenticating to Evernote on Windows Universal
C#
Latest commit f095a35 Aug 27, 2016 @DamianMehers committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
EvernoteUniveralWindowsAuthenticationDemo
.gitattributes
.gitignore
EvernoteUniveralWindowsAuthenticationDemo.sln
LICENSE
README.md

README.md

EnUWPAuthDemo

A complete standalone working example of authenticating to Evernote on Windows Universal

You'll want to use the EvernoteAuthenticator class.

      var result = await EvernoteAuthenticator.AuthenticateAsync(Host.Text, Key.Text, Secret.Text, Callback.Text);

      TTransport noteStoreTransport = new THttpClient(new Uri(result.EdamNoteStoreUrl));
      TProtocol noteStoreProtocol = new TBinaryProtocol(noteStoreTransport);
      var noteStore = new NoteStore.Client(noteStoreProtocol);
      var defaultNotebook = await Task.Run(() => noteStore.getDefaultNotebook(result.AuthToken));
      Output.Text = $"Your default notebook is {defaultNotebook.Name}";