Share via


Base64TextEncoder.Encode Method (Byte[])

 

Converts a data to a string that is in the base64 format.

Namespace:   Microsoft.Owin.Security.DataHandler.Encoder
Assembly:  Microsoft.Owin.Security (in Microsoft.Owin.Security.dll)

Syntax

public string Encode(
    byte[] data
)
public:
virtual String^ Encode(
    array<unsigned char>^ data
) sealed
abstract Encode : 
        data:byte[] -> string
override Encode : 
        data:byte[] -> string
Public Function Encode (
    data As Byte()
) As String

Parameters

Return Value

Type: System.String

A string of data converted to the base64 format.

Implements

ITextEncoder.Encode(Byte[])

See Also

Base64TextEncoder Class
Microsoft.Owin.Security.DataHandler.Encoder Namespace

Return to top