Password Method

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,
	string value,
	bool required
)
Visual Basic (Declaration)
Public Function Password ( _
	name As String, _
	value As String, _
	required As Boolean _
) As String
Visual C++
public:
String^ Password(
	String^ name, 
	String^ value, 
	bool required
)

Parameters

name
Type: System..::.String
Form parameter name.
value
Type: System..::.String
value to validate
required
Type: System..::.Boolean
field may not be empty or null if true

Return Value

vaue if valid; otherwise string.Empty

See Also