I don't like to repeat myself - no one is going to give you a 'sample program' based on such vague requirements.
Some kind of throttling might be an ok way to do this (5 failures within a certain time limit). What are you authenticating against. If it is an Active Directory instance then does that not provide the facility to block users after a few attempts?
What is this for? Is this just a study project? What FTP server are you using?
The last time you posted this type of question you got very little response. On this forum we try to help people who have specific technical questions. We do not take vague requirements and write whole programs because we don't have the time, and you're not paying us too. If you have a specific question to do with C# then feel free to ask it.
/- Sam Judson : Wrox Technical Editor -/
|