title: MQTT Client Publisher Acknowledgement M2MTT Liberary Code
body: <p>I am using c# M2MQTT Client code to publish and subscribe the data. I have set the QOS Level 1 or 2. Do not know that how the publisher will get the notification when delivery completes. I have searched a lot on inter net but no code available. Please let me know if any one how to handle the acknowledgement at publisher end in c#.</p>
  
  <pre><code>MqttClient client = new MqttClient(IPAddress.Parse(mqttserverurl));
   clientId = Guid.NewGuid().ToString();
     client.Connect(clientId, uname, pwd);`enter code here`
  
     client.Publish("testtopic", Encoding.UTF8.GetBytes("Hi"), MqttMsgBase.QOS_LEVEL_EXACTLY_ONCE, false);
  </code></pre>