Compartir a través de


ConvertBase64.FromBase64String Method

Converts the specified string, which encodes binary data as base-64 digits, to an equivalent 8-bit unsigned integer array.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

public static byte [] FromBase64String (
         stringinString
)

Parameters

  • inString
    The base-64 encoded string to convert.

Return Value

An array of 8-bit unsigned integers equivalent to inString.

Remarks

inString is composed of base-64 digits, whitespace characters, and trailing padding characters.

The base-64 digits in ascending order from zero are the uppercase characters 'A' to 'Z', lowercase characters 'a' to 'z', numerals '0' to '9', and the symbols '+' and '/'.

An arbitrary number of white space characters can appear in inString, because all whitespace characters are ignored. The valueless character, '=', is used for trailing padding. The end of inString can consist of zero, one, or two padding characters.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

ConvertBase64 Class
ConvertBase64 Members
System Namespace