Cnv.ToHex(String) Method
Converts a string of ANSI characters to equivalent hexadecimal string format
Syntax
[C#]
public static string ToHex(
string s
)
[VB]
Public Shared Function ToHex (
s As String
) As String
Parameters
- s String
- String of data to be encoded
Return Value
Hex-encoded data
Remarks
Uses the 'Default' encoding for the system's current ANSI code page
See Also
VB6/C equivalent: CNV_HexStrFromBytes
[Contents] [Index]