Realiza download do CAPTCHA no site da Receita Federal, para permitir a Consulta de CPF


CPF.ConsultarCaptcha( [cPath_Download] )


Parâmetros


 cPath_Download: Define o diretório onde baixar a imagem com o código CAPTCHA 

obs: Este parâmetro é opcional, caso não informado será retornado a imagem .png em Base64


Exemplo:


CPF.ConsultarCaptcha("C:\Temp")

ou

CPF.ConsultarCaptcha()



Exemplo de Resposta:


OK: c:\temp\CaptchaCPF.png


Exemplo de Resposta com Imagem em Base64:


OK: iVBORw0KGgoAAAANSUhEUgAAALQAAAAyCAYAAAD1JPH3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABZjSURBVHhe3Z1ZzGVTFsc/M0GMMU8RUwwhhhARQ4xR5hDzTEwxlnlsFAplDNFo0VSliERpQURIBOkIL4gHPOGJfvLo8fT3277/6XXXXXuffe65Xz30P1n5bp2zx7X+a+219zn31swsGmSLLbb4z8KFC//1xx9/LGqa5m9efv3118UInynz4osv/vOxxx5bjuj6NIR2c2MYIoyRtqc51pKsWLHi70uXLv1HdG8Skc5r5zDt/icRxvn9998vsdf6zqOvtISWrL322s1FF13UfPnll7P3/4dvvvkmCfjhhx+a++67rznllFOaK664Yqzszz//3Hz77bfNp59+mmR2EnN3ynj11VfTGB555JG5K9MDY2fMfqyTgjnl5vbhhx+2+mRO0wA6v+uuu5rbbruttUMO89H/JKBvdG4h7iBd8yjpOIeZBQsW/FuTX2eddVpFILvttlvzwgsvhA3SEWW8whik6p955plVAxfoh/I4RA3+/PPPdmzTImotSg7y0UcfpfmffvrpvYzRhXfeeSf12QX08tRTT6XAMM3++wI7DrHL559/nhw4aoN5RXObmZW/bbrppskAa6yxRvP00083Bx10UEtKZK211mrOOuuspFDhjTfeSPdQnAVlVA9nGAIUgkcDBu+9VQZ+7733Un/WuXITXhnI6UZgXL/99tvcv+oRRTx0AoH/H0HQiIIh83355ZeTeBsnQqMokfDggw9ONz744INm//33TymI7iGzuXZz5ZVXNl999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4kApmObAmNGbHNSiOocWanM0wU8SQ2sCWu6AjRood2WCvtVnRG6U/9prr6WxeaWXSM6eoMvhqE+fbFT9ZpXPQ4g2jeDTB6UAwxwVNEkjZWv2ZrlgGtkC5KI25XsTmko1kVzwk/TLnYWNGisT9CtCW3IDxq7xItaRJyEMepPuVJ/zb95PQHKEmAR6TZPz6AiMw568DAXtRVHTo8QBC2+LLpCqtYTWcVbNgIaCjRkvf9OnQJ9Rv7nr04SNpJbcwCqf3NeOpe9qBayDd9XHFkOcW+8j5x4Y+bkOBfOivZrUrCZ49Rkffc/MzDT/Bfcp6eFod9WZAAAAAElFTkSuQmCC

Created with the Personal Edition of HelpNDoc: Free HTML Help documentation generator