Table of Contents

Class WindowInfo

Namespace
WindowSill.API
Assembly
WindowSill.API.dll

Represents information about a window in the operating system, including its metadata and associated application details.

public record WindowInfo : IEquatable<WindowInfo>
Inheritance
WindowInfo
Implements
Derived
Inherited Members
Extension Methods

Properties

ApplicationIdentifier

Gets a unique identifier for the application that owns this window.

public required string ApplicationIdentifier { get; init; }

Property Value

string

An identifier that can be used to group windows belonging to the same application.

Icon

Gets an asynchronous notifier that provides the window's icon when the loading operation completes.

public required TaskCompletionNotifier<ImageSource?> Icon { get; init; }

Property Value

TaskCompletionNotifier<ImageSource>

A task completion notifier that yields the window's icon image or null if no icon is available.

IsUwpApp

Gets a value indicating whether the window belongs to a Universal Windows Platform (UWP) application.

public required bool IsUwpApp { get; init; }

Property Value

bool

True if this is a UWP/modern app window; false for traditional Win32 applications.

ProcessId

Gets the operating system process identifier for the application that created this window.

public required int ProcessId { get; init; }

Property Value

int

The PID of the process hosting this window.

Version

Gets the version information of the application that owns this window.

public required Version? Version { get; init; }

Property Value

Version

The application version, or null if version information is not available.

WindowHandle

Gets the native handle that uniquely identifies this window in the operating system.

public required nint WindowHandle { get; init; }

Property Value

nint

A platform-specific handle used by the OS to reference this window instance.

WindowTitle

Gets the text displayed in the window's title bar.

public required string WindowTitle { get; init; }

Property Value

string

The current title text of the window as it appears to the user.