public void Reset()
 {
     networkCredential = null;
     endPoint          = new MqttEndPoint();
     Disconnect();
 }
 public void Reset()
 {
     this.networkCredential = null;
     this.endPoint = new MqttEndPoint();
     Disconnect();
 }