예제 #1
0
        /// <summary>
        /// Calls a procedure on a remote server
        /// </summary>
        /// <param name="name">The name of the Rpc</param>
        /// <param name="param">The data to send for the request</param>
        /// <returns>The Rpc call id</returns>
        public static long CallRpc(string name, IList <byte> param)
        {
#if CORE
            return(CoreMethods.CallRpc(name, param));
#else
            return(Storage.Instance.CallRpc(name, param));
#endif
        }