title: How can i get application name which is currently focused
body: <p>I am using windows forms and was wondering whether a user can get the name of other application, that get focused, or not.
  e.g if i run an application then i should get the name of that application that recently started and is currently on focus.
  i searched on google but didn't find any appropriate solution.</p>
  
  <p>Thanks!</p>