public static GetWindowText ( |
||
windowHandle | A handle to the window containing the text. | |
return | string |
/// <summary> /// Gets all the windows that contain the specified title. /// </summary> /// <param name="windowTitle">A part a window title string.</param> /// <returns>A collection of <see cref="RemoteWindow"/>.</returns> public IEnumerable <RemoteWindow> GetWindowsByTitleContains(string windowTitle) { return(WindowHandles .Where(handle => WindowCore.GetWindowText(handle).Contains(windowTitle)) .Select(handle => new RemoteWindow(_memorySharp, handle))); }