public Evernote.EDAM.Type.Resource getResourceByHash(string authenticationToken, string noteGuid, byte[] contentHash, bool withData, bool withRecognition, bool withAlternateData)
{
#if !SILVERLIGHT && !NETFX_CORE
send_getResourceByHash(authenticationToken, noteGuid, contentHash, withData, withRecognition, withAlternateData);
return recv_getResourceByHash();
#else
var asyncResult = Begin_getResourceByHash(null, null, authenticationToken, noteGuid, contentHash, withData, withRecognition, withAlternateData);
return End_getResourceByHash(asyncResult);
#endif
}
#if SILVERLIGHT || NETFX_CORE