NFeConfigCNPJExiste Métodos |
Namespace: Vinco.iContNFe.NFeIntegratorInterOp
1try 2{ 3 var _interOpConfig = new NFeConfig { IdKeyPartner = "00000000000000000000000000000000" }; //Código fornecido pela Vinco 4 _interOpConfig.Start(); 5 var result = _interOpConfig.CNPJExiste("98765432000101"); 6 MessageBox.Show(result, "Informação", MessageBoxButtons.OK, MessageBoxIcon.Information); 7} 8catch (Exception ex) 9{ 10 MessageBox.Show(string.Format("{0}", ex), "Erro", MessageBoxButtons.OK, MessageBoxIcon.Error); 11}