MaskedTextProvider.ToString Method ()
Returns the formatted string that includes all the assigned character values.
Assembly: System (in System.dll)
This version of the overloaded ToString method includes prompts and literals according to the current values of the IncludePrompt and IncludeLiterals properties, respectively. It will always return the original input characters, ignoring the value of the PasswordChar property.
Because this method reveals information that is usually protected in the user interface by password characters, it should be used with extreme caution to avoid accidentally revealing sensitive user data.
Available since 2.0