private static void EventHandler(object sender, MqttMsgPublishEventArgs e) { try { var objeto = SerializeUtil.DeserializeByteArrayToObject(e.Message); } catch (Exception ex) { } }