Method GetClassName
GetClassName(IntPtr)
The GetClassName function retrieves the name of the class to which the specified window belongs.
public static string GetClassName(IntPtr hwnd)
Parameters
hwnd
IntPtrIdentifies the window and, indirectly, the class to which the window belongs.
Returns
- string
Name of the class.