Exemplo n.º 1
0
    private async Task <bool> Send()
    {
        string message = inputMessage.text + "(" + inputMail.text + ")";

        message.Replace('&', '@');
        message.Replace('=', '@');

        Dictionary <string, string> keys = new Dictionary <string, string>();

        keys.Add("value", message);

        try
        {
            string res = await MyConnection.Post(URI, keys);

            return(true);
        }
        catch { return(false); }
    }