What is PInvoke?

 Posted by Ddd on 1/31/2011 | Category: .NET Framework Interview questions | Views: 2064 | Points: 40

Pinvoke (PlatForm Invoke) features of the .NET enables .NET Code to call functions from unmanaged libraries like user32.dll, kernel32.dll. Thse libraries contain Window API functions like FlashWindow, GetComputerName respectively.
FlashWindow can be used to blink the form's caption bar.
GetComputerName can be used to retreive the computer's name.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response