Search code examples
c#visual-studio-2010.net-3.5password-encryption

Password generation in C# using Membership.GeneratePassword and without white spaces


Could anyone confirm me if this method generates a password without white spaces (blanks)?

I think it generates without white spaces, but I would like someone confirm me this.

In the msdn documentation it is not talked about white spaces.


Solution

  • It seems pretty clear from the documentation to me:

    The generated password only contains alphanumeric characters and the following punctuation marks: !@#$%^&*()_-+=[{]};:<>|./?. No hidden or non-printable control characters are included in the generated password.

    No mention of including whitespace characters.