0

var topic3 = new TopicFilterBuilder().WithTopic("test").Build(); Client.SubscribeAsync(topic3).Wait();

        Client.UseApplicationMessageReceivedHandler(e =>
        {

            textBox1.Invoke(new Action(() =>
            {
                textBox1.Text = Encoding.UTF8.GetString(e.ApplicationMessage.Payload).ToString();
            }));


        });
4

0 回答 0