Password Method (String, Boolean)

HttpServer.dll

Validate that a string only contains letters or digits or any of the PasswordChars.

Namespace:  HttpServer.Helpers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public string Password(
	string name,
	bool required
)
Visual Basic (Declaration)
Public Function Password ( _
	name As String, _
	required As Boolean _
) As String
Visual C++
public:
String^ Password(
	String^ name, 
	bool required
)

Parameters

name
Type: System..::.String
Name of form parameter to validate.
required
Type: System..::.Boolean
Value is required.

Return Value

value if valid; otherwise string.Empty.

See Also