ToBase64String Method (Byte)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.
Assembly: mscorlib (in mscorlib.dll)
inArray is nullNothingnullptrunita null reference (Nothing in Visual Basic).
The elements of inArray are taken as a numeric value and converted to a string representation that is encoded with base-64 digits.
The base-64 digits in ascending order from zero are the uppercase characters "A" to "Z", the lowercase characters "a" to "z", the numerals "0" to "9", and the symbols "+" and "/". The valueless character, "=", is used for trailing padding.
The ToBase64String method is designed to process a single byte array that contains all the data to be encoded. To encode data from a stream, use the class.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.