Ejemplo n.º 1
0
        static KeystoneImports()
        {
            string str = Path.GetDirectoryName(new Uri(typeof(KeystoneImports).Assembly.CodeBase).LocalPath) + (IntPtr.Size == 8 ? "\\win64\\" : "\\win32\\") + "keystone.dll";

            if (!File.Exists(str))
            {
                return;
            }
            KeystoneImports.LoadLibrary(str);
        }