-
-
Save ztirom/776b6e6b363f2b17be079df623dde9dd to your computer and use it in GitHub Desktop.
Make a byte64 String from an UTF-8 String in AX2012
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Example | |
{ | |
public void main() | |
{ | |
byte[] bytes = Encoding.UTF8.GetBytes("AX2012R3CU9"); | |
string base64 = Convert.ToBase64String(bytes); | |
Console.WriteLine(base64); | |
} | |
} | |
// Output: | |
// QVgyMDEyUjNDVTk= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment