CryptoSys PKI Pro Manual

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]

[PREV: Cnv.ToHex(Byte) Method...]   [Contents]   [Index]   
   [NEXT: Compr.Compress Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-17T11:18:15Z.