StringUtils.ToBase64String

Converts a string to a Base64 string

public static string ToBase64String(string text,
	Encoding encoding)

Return Value

Base 64 or null

Parameters

text
A string to convert to base64

encoding
Optional encoding - if not passed assumed to be Unicode


See also:

Class StringUtils

© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic