public void send_authenticateToSharedNote(string guid, string noteKey, string authenticationToken)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("authenticateToSharedNote", TMessageType.Call, seqid_));
   authenticateToSharedNote_args args = new authenticateToSharedNote_args();
   args.Guid = guid;
   args.NoteKey = noteKey;
   args.AuthenticationToken = authenticationToken;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT || NETFX_CORE
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
 public void authenticateToSharedNote_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   authenticateToSharedNote_args args = new authenticateToSharedNote_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   authenticateToSharedNote_result result = new authenticateToSharedNote_result();
   try {
     result.Success = iface_.authenticateToSharedNote(args.Guid, args.NoteKey, args.AuthenticationToken);
   } catch (Evernote.EDAM.Error.EDAMUserException userException) {
     result.UserException = userException;
   } catch (Evernote.EDAM.Error.EDAMNotFoundException notFoundException) {
     result.NotFoundException = notFoundException;
   } catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
     result.SystemException = systemException;
   }
   oprot.WriteMessageBegin(new TMessage("authenticateToSharedNote", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
 public void send_authenticateToSharedNote(string guid, string noteKey)
 {
   oprot_.WriteMessageBegin(new TMessage("authenticateToSharedNote", TMessageType.Call, seqid_));
   authenticateToSharedNote_args args = new authenticateToSharedNote_args();
   args.Guid = guid;
   args.NoteKey = noteKey;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   oprot_.Transport.Flush();
 }