Exemple #1
0
 public static PluginInfo[] GetPluginsCache(string cacheStr)
 {
     if (cacheStr.Length > 0)
     {
         return(SerializeMan.ByteArrayToObject(Convert.FromBase64String(cacheStr)) as PluginInfo[]);
     }
     else
     {
         return new PluginInfo[] { }
     };
 }
Exemple #2
0
 public static string GenerateCacheStr()
 {
     return(Convert.ToBase64String(SerializeMan.ObjectToByteArray(GetPlugins())));
 }