Example #1
0
        internal static void SetMetin2Key(string process, byte[] buffer)
        {
            Metin2Key key = new Metin2Key(Process.GetProcessesByName(process)[0],
                                          new IntPtr(GetBase(process) + KeyPointerHigherLevel), new int[] { Offset });

            key.WriteKey(buffer);
        }
 internal static void SetMetin2Key(string process, byte[] buffer)
 {
     Metin2Key key = new Metin2Key(Process.GetProcessesByName(process)[0],
                                   new IntPtr(GetBase(process) + KeyPointerHigherLevel), new int[] {Offset});
     key.WriteKey(buffer);
 }