newbie - Getting a PIN from 0Auth - HELP

Jun 23, 2011 at 5:35 PM

I followed this tutorial to create my own Twitter application. It works perfectly. There is a part where you have to enter the PIN as part of your authentication. So i got the pin as follows;


string pin = Microsoft.VisualBasic.Interaction.InputBox("enter pin ", "pin for your application", "", 10, 16);


Before proceeding, i need to validate if this pin is correct. Some times the user might copy paste another code here, and it needs to be validated properly, how should i do this ?