Example #1
0
    private static void SubmitResultToServer(string gamename, string levelname, string username, int score)
    {
        string url = "http://globalgameleaders.com/api/reportscore.php";
        url = string.Format("{0}?game={1}&level={2}&user={3}&score={4}", url, gamename, levelname, username, score);

        RequestDelegate caller = new RequestDelegate(SendRequest);
        caller.BeginInvoke(url, null, null);
    }
Example #2
0
 internal IAsyncResult BeginRequest(Message msg, TimeSpan timeout, AsyncCallback callback, object state)
 {
     return(requestDelegate.BeginInvoke(msg, timeout, callback, state));
 }