CryptoSys API Library Manual

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]

[HOME]   [NEXT: Crc.Data Method (Byte)...]

Copyright © 2001-11 D.I. Management Services Pty Ltd. All rights reserved.