public void Post()
        {
             var task = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, async() =>
             {
            string firstName = Name;
            string amount = Totalamount;
            string productInfo = "Test";
            string email = Email;
            string phone = mobile;
            string surl = "";
            string furl = "";

            RemotePost myremotepost = new RemotePost();
            string key = "JBZaLc";
            string salt = "GQs7yium";
            myremotepost.Url = "https://test.payu.in/_payment";
            myremotepost.Add("key", "JBZaLc");
            string txnid = await Generatetxnid();
            myremotepost.Add("txnid", txnid);
            myremotepost.Add("amount", amount);
            myremotepost.Add("productinfo", productInfo);
            myremotepost.Add("firstname", firstName);
            myremotepost.Add("phone", phone);
            myremotepost.Add("email", email);
            myremotepost.Add("surl", "http://sdsdsdsd");//Change the success url here depending upon the port number of your local system.
            myremotepost.Add("furl", "http://www.google.com");//Change the failure url here depending upon the port number of your local system.
            myremotepost.Add("service_provider", "payu_paisa");
            string hashString = key + "|" + txnid + "|" + amount + "|" + productInfo + "|" + firstName + "|" + email + "|||||||||||" + salt;
            await Generatehash512(hashString);
            //string hashString = "3Q5c3q|2590640|3053.00|OnlineBooking|vimallad|[email protected]|||||||||||mE2RxRwx";
            string hash = await Generatehash512(hashString);
            myremotepost.Add("hash", hash);
            myremotepost.PostURL();
             }).AsTask();
        }