Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?
Save up to 50% on our desktop apps during our Year End Sale!Save up to 50% on our desktop apps during our Year End Sale, including DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!Save up to 50% on our desktop apps during our Year End Sale!

Encode Text (UTF-8) using Base64-Encoding

Description
Converts plain text to a Base64-Encoded string.
Language
C#.net
Minimum Version
Created By
Janko Heilgeist
Contributors
-
Date Created
Aug 19, 2014
Date Last Modified
Aug 19, 2014

Macro Code

using System;

public static class ClipboardFusionHelper
  {
    public static string ProcessText(string text)
      {
        byte[] textBytes = System.Text.UTF8Encoding.UTF8.GetBytes(text);
        return System.Convert.ToBase64String(textBytes);
      }
  }