Hocam çok teşekkür ederim en sonunda oldu. Gerisi kolay gerisini yaparım zaten..
Ama bazen nedense çalışıyor sonra visual studio programında program.cs'De form1'in açılış kodunda hata veriyor..
Hata :
Alıntı
A callback was made on a garbage collected delegate of type 'Keylogger!Utilities.globalKeyboardHook+keyboardHo okProc::Invoke'. This may cause application crashes, corruption and data loss. When passing delegates to unmanaged code, they must be kept alive by the managed application until it is guaranteed that they will never be called.