public byte[] getResourceData(string authenticationToken, string guid)
{
#if !SILVERLIGHT && !NETFX_CORE
send_getResourceData(authenticationToken, guid);
return recv_getResourceData();
#else
var asyncResult = Begin_getResourceData(null, null, authenticationToken, guid);
return End_getResourceData(asyncResult);
#endif
}
#if SILVERLIGHT || NETFX_CORE