using System; using System.IO; using System.Security.Cryptography; using System.Text; namespace ClassLibrary1 { class Code { //1.base64 to string public static string Base64Encrypt(string strPath) { byte[] bpath = Convert.FromBase64String(strPath); s…