Mono Class Library: System.Uri Overview | Members

System.Uri.IsHexEncoding Method

Returns a bool value that indicates whether a substring of the specified string is in escaped hexadecimal encoding format ("%" followed by two hexadecimal characters).

public static bool IsHexEncoding (string pattern, int index)

Parameters

pattern
The string to check.
index
A int containing the location in pattern to check for hex encoding.

Returns

true if the specified location in pattern contains a substring in escaped hexadecimal encoding format; otherwise, false.

Remarks

The Uri.IsHexEncoding(string, int) method checks for hexadecimal digits case-insensitively.

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0