Hex Method

HttpServer.dll

Validates a string to be in trimmed hex letters

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

Syntax

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

Parameters

name
Type: System..::.String
The name of the parameter
value
Type: System..::.String
The value to test
required
Type: System..::.Boolean
If the parameter is required

Return Value

The value or string.Empty if validation failed

See Also