Muokkaa

Jaa


Utilities.Base64Encode method

[The Base64Encode method is available for use in the operating systems specified in the Requirements section.]

The Base64Encode method encodes a string as base64.

Syntax

Utilities.Base64Encode( _
  ByVal SrcString _
)

Parameters

SrcString [in]

The string to encode as base64.

Return value

The base64-encoded string.

Remarks

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.

Requirements

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

Utilities