Hex Method (String, Boolean)

HttpServer.dll

Validates a string to hex

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

Syntax

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

Parameters

name
Type: System..::.String
The name of the field to validate
required
Type: System..::.Boolean
If the field must be set

Return Value

The value if validated otherwise string.Empty

See Also