[The Base64Encode method is available for use in the operating systems specified in the Requirements section.]
The Base64Encode method encodes a string as base64.
- SrcString [in]
The string to encode as base64.
The base64-encoded string.
Base64 encoding is the scheme used to transmit binary data. Base64 processes data as 24-bit groups, mapping this data to four encoded characters. Base64 encoding is sometimes referred to as 3-to-4 encoding. Each 6 bits of the 24-bit group is used as an index into a mapping table (the base64 alphabet) to obtain a character for the encoded data. The encoded data has line lengths that are limited to 76 characters.
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP