Buenos días camaradas, en este vídeo les mostrare como extraer el UUID y datos del complemento usando la clase cfdv23.cs C#
1: using System;
2: using System.Collections.Generic;
3: using System.ComponentModel;
4: using System.Data;
5: using System.Drawing;
6: using System.Linq;
7: using System.Text;
8: using System.Threading.Tasks;
9: using System.Windows.Forms;
10: using System.Xml.Serialization;
11: using System.Xml;
12:
13: XmlSerializer serielizer = new XmlSerializer(typeof(Comprobante));
14: XmlTextReader reader = new XmlTextReader(@"C:xml.xml");
15: Comprobante factura = (Comprobante)serielizer.Deserialize(reader);
16:
17: string strUUID,strSelloSat,strNoCertificadoSat,strSelloCFD,strFechaTimbrado;
18: //MessageBox.Show (factura.fecha.ToString());
19:
20: strUUID = (factura.Complemento.Any[0].Attributes[3].Value);
Espero les sirva