int EventKey(int nCode, IntPtr wParam, IntPtr lParam)
{
    KBDLLHOOKSTRUCT oKB = (KBDLLHOOKSTRUCT)Marshal.PtrToStructure(lParam, typeof(KBDLLHOOKSTRUCT));

    if (oKB.flags == KBDLLHOOKSTRUCTFlags.LLKHF_UP)
    {
        Console.WriteLine(oKB.flags + "    " + oKB.vkCode);
        m_KeyEventDelegate(oKB.vkCode);
    }
  
    return CallNextHookEx(m_Handle, nCode, wParam, lParam);
}