Info
Version: | 2.0.5 |
Author(s): | Mauricio Junior |
Last Update: | Sunday, November 7, 2021 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://www.mauriciojunior.net/ |
NuGet Url: | https://www.nuget.org/packages/CPFCNPJ |
Install
Install-Package CPFCNPJ
dotnet add package CPFCNPJ
paket add CPFCNPJ
CPFCNPJ Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
Methods that help you to check and format the special numbers of CPF and CNPJ.
Help me a lot and I'm putting here to help other people.
Example to use the code:
//check CNPJ
CPFCNPJ.IMain main1 = new CPFCNPJ.Main();
var resultCNPJ = main1.IsValidCPFCNPJ("55645180000150");
Console.WriteLine(resultCNPJ);
//check CPF
var resultCPF = main1.IsValidCPFCNPJ("90099299033");
Console.WriteLine(resultCPF);.