Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# Base64 Encode


public static string Base64Encode(string plainText) {
  var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText);
  return System.Convert.ToBase64String(plainTextBytes);
}

Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #Encode
ADD COMMENT
Topic
Name
2+7 =