Click or drag to resize
ConvertToBase64String Method (Byte)
Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static string ToBase64String(
	byte[] inArray
)

Parameters

inArray
Type: SystemByte
An array of 8-bit unsigned integers.

Return Value

Type: String
The string representation, in base 64, of the contents of inArray.
Exceptions
ExceptionCondition
ArgumentNullExceptioninArray is null.
See Also