StringExtensions.Base64Encode Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Base64Encode(string, bool)

Encodes a string to base-64.

public static string Base64Encode(this string input, bool url = false)

Parameters

input
string

The input string to base64 encode.

url
bool

true to use base64url encoding, false to use standard base64 encoding.

Returns

string