Je ne sais pas si jamais vous Ça a marché, mais je jouais avec Evernote, OpenAuth et C# ce matin et j'ai réussi à tout faire fonctionner. Je l'ai mis en place un poste blog/bibliothèque expliquant l'expérience et décrivant comment le faire avec MVC ici - http://www.shaunmccarthy.com/evernote-oauth-csharp/ - il utilise la bibliothèque AsyncOAuth: https://github.com/neuecc/AsyncOAuth
J'ai écrit une enveloppe autour AsyncOAuth que vous trouverez peut-être utile ici: https://github.com/shaunmccarthy/AsyncOAuth.Evernote.Simple
Une chose épineuse à prendre en compte - la Endpoints Evernote (/ OAuth et /OAuth.action) sont sensibles à la casse
// Download the library from https://github.com/shaunmccarthy/AsyncOAuth.Evernote.Simple
// Configure the Authorizer with the URL of the Evernote service,
// your key, and your secret.
var EvernoteAuthorizer = new EvernoteAuthorizer(
"https://sandbox.evernote.com",
"slyrp-1234", // Not my real id/secret :)
"7acafe123456badb123");
// First of all, get a request token from Evernote - this causes a
// webrequest from your server to Evernote.
// The callBackUrl is the URL you want the user to return to once
// they validate the app
var requestToken = EvernoteAuthorizer.GetRequestToken(callBackUrl);
// Persist this token, as we are going to redirect the user to
// Evernote to Authorize this app
Session["RequestToken"] = requestToken;
// Generate the Evernote URL that we will redirect the user to in
// order to
var callForwardUrl = EvernoteAuthorizer.BuildAuthorizeUrl(requestToken);
// Redirect the user (e.g. MVC)
return Redirect(callForwardUrl);
// ... Once the user authroizes the app, they get redirected to callBackUrl
// where we parse the request parameter oauth_validator and finally get
// our credentials
// null = they didn't authorize us
var credentials = EvernoteAuthorizer.ParseAccessToken(
Request.QueryString["oauth_verifier"],
Session["RequestToken"] as RequestToken);
// Example of how to use the credential with Evernote SDK
var noteStoreUrl = EvernoteCredentials.NotebookUrl;
var noteStoreTransport = new THttpClient(new Uri(noteStoreUrl));
var noteStoreProtocol = new TBinaryProtocol(noteStoreTransport);
var noteStore = new NoteStore.Client(noteStoreProtocol);
List<Notebook> notebooks = client.listNotebooks(EvernoteCredentials.AuthToken);