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