Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
AnswerRe: if webbrowser hangs, then retry, how to check if hanging c# Pin
Eddy Vluggen28-Aug-12 23:09
professionalEddy Vluggen28-Aug-12 23:09 
GeneralRe: if webbrowser hangs, then retry, how to check if hanging c# Pin
Member 88893234-Sep-12 3:52
Member 88893234-Sep-12 3:52 
QuestionSecurity of Passwords Pin
zephaneas28-Aug-12 13:18
zephaneas28-Aug-12 13:18 
AnswerRe: Security of Passwords Pin
jschell28-Aug-12 14:00
jschell28-Aug-12 14:00 
AnswerRe: Security of Passwords Pin
Peter_in_278028-Aug-12 15:13
professionalPeter_in_278028-Aug-12 15:13 
GeneralRe: Security of Passwords Pin
Paul Conrad28-Aug-12 18:24
professionalPaul Conrad28-Aug-12 18:24 
AnswerRe: Security of Passwords Pin
Paul Conrad28-Aug-12 18:25
professionalPaul Conrad28-Aug-12 18:25 
AnswerRe: Security of Passwords Pin
Bernhard Hiller28-Aug-12 21:42
Bernhard Hiller28-Aug-12 21:42 
If a customer comes up with such ideas, try shortly to inform him on good practices. If he seems reluctant to realize the difference, give him what he insists to get.
And since new user registrations / password changes happen not so often, do not care for highest performance. Naive approaches are good enough.
Create character arrays for vowels and consonants, e.g. char[] vowels = "AaEeIiOoUu".ToCharArray();, and condition A can be checked with the "IndexOfAny" method of string.
If the password is longer than 1 character (oh yes, "a" is a safe password for your customer...), check B and C by looping thru the characters of the password - you can access each character by the indexer, e.g. char c = password[0];.
AnswerRe: Security of Passwords Pin
BobJanova28-Aug-12 23:36
BobJanova28-Aug-12 23:36 
AnswerRe: Security of Passwords Pin
Dave Kreskowiak29-Aug-12 2:06
mveDave Kreskowiak29-Aug-12 2:06 
GeneralRe: Security of Passwords Pin
Eddy Vluggen29-Aug-12 2:24
professionalEddy Vluggen29-Aug-12 2:24 
AnswerRe: Security of Passwords Pin
Pete O'Hanlon29-Aug-12 3:09
mvePete O'Hanlon29-Aug-12 3:09 
QuestionC# create folder and place documents Pin
dcof28-Aug-12 12:05
dcof28-Aug-12 12:05 
AnswerRe: C# create folder and place documents Pin
Richard Andrew x6428-Aug-12 12:57
professionalRichard Andrew x6428-Aug-12 12:57 
AnswerRe: C# create folder and place documents Pin
Wes Aday28-Aug-12 14:49
professionalWes Aday28-Aug-12 14:49 
QuestionDelete From XML File Pin
Kevin Marois28-Aug-12 10:54
professionalKevin Marois28-Aug-12 10:54 
AnswerRe: Delete From XML File Pin
Richard Andrew x6428-Aug-12 11:10
professionalRichard Andrew x6428-Aug-12 11:10 
GeneralRe: Delete From XML File Pin
Kevin Marois28-Aug-12 11:16
professionalKevin Marois28-Aug-12 11:16 
GeneralRe: Delete From XML File Pin
PIEBALDconsult28-Aug-12 11:36
mvePIEBALDconsult28-Aug-12 11:36 
AnswerRe: Delete From XML File Pin
PIEBALDconsult28-Aug-12 11:35
mvePIEBALDconsult28-Aug-12 11:35 
GeneralRe: Delete From XML File Pin
Kevin Marois28-Aug-12 11:47
professionalKevin Marois28-Aug-12 11:47 
GeneralRe: Delete From XML File Pin
PIEBALDconsult28-Aug-12 12:07
mvePIEBALDconsult28-Aug-12 12:07 
GeneralRe: Delete From XML File Pin
Kevin Marois28-Aug-12 12:21
professionalKevin Marois28-Aug-12 12:21 
AnswerRe: Delete From XML File Pin
PIEBALDconsult28-Aug-12 12:02
mvePIEBALDconsult28-Aug-12 12:02 
QuestionHow can I change this event handler? Pin
turbosupramk328-Aug-12 10:52
turbosupramk328-Aug-12 10:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.