How to convert a license file to BASE64?

Issue:

I need to convert regula.license file to BASE64.

Solution:

To convert a binary file to Base64 format, you can use the command line in Windows PowerShell or MacOS Terminal.

For Windows PowerShell, use the command

[convert]::ToBase64String((Get-Content -path "your_file_path" -Encoding byte))

In MacOS Terminal, use the command

base64 license.filepath | base64 ./regula.license
Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more