Consulta_CNPJ 1.0.1

Requires NuGet 1.0.0 or higher.

dotnet add package Consulta_CNPJ --version 1.0.1
NuGet\Install-Package Consulta_CNPJ -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Consulta_CNPJ" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Consulta_CNPJ --version 1.0.1
#r "nuget: Consulta_CNPJ, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Consulta_CNPJ as a Cake Addin
#addin nuget:?package=Consulta_CNPJ&version=1.0.1

// Install Consulta_CNPJ as a Cake Tool
#tool nuget:?package=Consulta_CNPJ&version=1.0.1

A DLL consulta o site http://www.receita.fazenda.gov.br/pessoajuridica/cnpj/cnpjreva/cnpjreva_solicitacao2.asp

Já está disponivel para ser utilizado no Delphi.

Exemplo de como utilizar
Primeiro temos que instanciar a DLL
DLL_CLASS_CNPJ.CNPJ cnpj = new DLL_CLASS_CNPJ.CNPJ();

Executar a consulta no passando o CNPJ como parametro. O segundo parametro no momento não é utilizado.
cnpj.mForm("99999999999999", "");

Após efetuado a consulta pode utilizar os metodos abaixo para retornar os valores.
DLL_CLASS_CNPJ.InfoCNPJ.AtividadeEconomicaPrimaria
DLL_CLASS_CNPJ.InfoCNPJ.AtividadeEconomicaSecundaria
DLL_CLASS_CNPJ.InfoCNPJ.DataSituacaoCadastral
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoBairro
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoCEP
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoCidade
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoComplemento
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoEstado
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoLogradouro
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoNumero
DLL_CLASS_CNPJ.InfoCNPJ.MatrizFilial
DLL_CLASS_CNPJ.InfoCNPJ.MotivoSituacaoCadastral
DLL_CLASS_CNPJ.InfoCNPJ.NaturezaJuridica
DLL_CLASS_CNPJ.InfoCNPJ.NomeFantasia
DLL_CLASS_CNPJ.InfoCNPJ.NumeroDaInscricao
DLL_CLASS_CNPJ.InfoCNPJ.RazaoSocial
DLL_CLASS_CNPJ.InfoCNPJ.SituacaoCadastral
DLL_CLASS_CNPJ.InfoCNPJ.Email

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 1,453 12/8/2017
1.0.0 1,302 8/14/2016

Foi adicionado na DLL o retorno do E-mail que está no cadastro