ToBase64String Method

Convert.ToBase64String Method

 

Converts the value of 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)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticToBase64String(Byte[])

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits.

System_CAPS_pubmethodSystem_CAPS_staticToBase64String(Byte[], Base64FormattingOptions)

Converts an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. A parameter specifies whether to insert line breaks in the return value.

System_CAPS_pubmethodSystem_CAPS_staticToBase64String(Byte[], Int32, Int32)

Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, and the number of elements in the array to convert.

System_CAPS_pubmethodSystem_CAPS_staticToBase64String(Byte[], Int32, Int32, Base64FormattingOptions)

Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64 digits. Parameters specify the subset as an offset in the input array, the number of elements in the array to convert, and whether to insert line breaks in the return value.

Return to top
Show:
© 2016 Microsoft