public void getResourceByHash_Process(int seqid, TProtocol iprot, TProtocol oprot)
{
getResourceByHash_args args = new getResourceByHash_args();
args.Read(iprot);
iprot.ReadMessageEnd();
getResourceByHash_result result = new getResourceByHash_result();
try {
result.Success = iface_.getResourceByHash(args.AuthenticationToken, args.NoteGuid, args.ContentHash, args.WithData, args.WithRecognition, args.WithAlternateData);
} catch (Evernote.EDAM.Error.EDAMUserException userException) {
result.UserException = userException;
} catch (Evernote.EDAM.Error.EDAMSystemException systemException) {
result.SystemException = systemException;
} catch (Evernote.EDAM.Error.EDAMNotFoundException notFoundException) {
result.NotFoundException = notFoundException;
}
oprot.WriteMessageBegin(new TMessage("getResourceByHash", TMessageType.Reply, seqid));
result.Write(oprot);
oprot.WriteMessageEnd();
oprot.Transport.Flush();
}