Cnv.ToBase64 Method (String)
Convert a string of ANSI characters to equivalent base64-encoded string format.
Syntax
[C#]
public static string ToBase64(
string s
)
[VB.NET]
Public Shared Function ToBase64 ( _
s As String _
) As String
Parameters
- s
- 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]