CryptoSys PKI Pro Manual

Cnv.ToBase64(String) Method

Convert a string of ANSI characters to equivalent base64-encoded string format.

Syntax

[C#]
public static string ToBase64(
   string s 
)
[VB]
Public Shared Function ToBase64 (
   s As String 
) As String

Parameters

s  String
String of data to be encoded

Return Value

Base64-encoded data

Remarks

Uses the 'Default' encoding for the system's current ANSI code page

See Also

VB6/C equivalent: CNV_B64StrFromBytes

[Contents] [Index]

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

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