Epiforge.Extensions.Platforms.Windows
3.0.0
dotnet add package Epiforge.Extensions.Platforms.Windows --version 3.0.0
NuGet\Install-Package Epiforge.Extensions.Platforms.Windows -Version 3.0.0
<PackageReference Include="Epiforge.Extensions.Platforms.Windows" Version="3.0.0" />
<PackageVersion Include="Epiforge.Extensions.Platforms.Windows" Version="3.0.0" />
<PackageReference Include="Epiforge.Extensions.Platforms.Windows" />
paket add Epiforge.Extensions.Platforms.Windows --version 3.0.0
#r "nuget: Epiforge.Extensions.Platforms.Windows, 3.0.0"
#:package Epiforge.Extensions.Platforms.Windows@3.0.0
#addin nuget:?package=Epiforge.Extensions.Platforms.Windows&version=3.0.0
#tool nuget:?package=Epiforge.Extensions.Platforms.Windows&version=3.0.0
This library includes utilities for interoperation with Microsoft Windows, including:
Activation- provides information relating to Windows ActivationConsoleAssist- provides methods for interacting with consolesCursor- wraps Win32 API methods dealing with the cursorShell- wraps methods of the WScript.Shell COM object (specifically useful for invoking itsCreateShortcutfunction)Theme- represents the current Windows theme (itsColorandIsDarkproperties report what Windows says and are not settable)User- provides properties concerning the user, includingIdleTime;GetIdleTimereturns the same figure along with whether it is exact, which it is except when the session could not supply an absolute last-input timestamp and the system tick count has already wrappedWindowingSystem- provides methods for dealing with the windowing system, including reading and setting the foreground window, reading its position, and flashing windows
Also provides extension methods for dealing with processes, including:
CloseMainWindowAsync- close the main window of the specified processGetParentProcess- gets the parent process of the specified process
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0-windows was computed. net10.0-windows7.0 is compatible. |
-
net10.0-windows7.0
- Epiforge.Extensions.Components (>= 4.0.0)
- System.Management (>= 8.0.0)
- System.ValueTuple (>= 4.6.1)
-
net6.0-windows7.0
- Epiforge.Extensions.Components (>= 4.0.0)
- System.Management (>= 8.0.0)
-
net7.0-windows7.0
- Epiforge.Extensions.Components (>= 4.0.0)
- System.Management (>= 8.0.0)
-
net8.0-windows7.0
- Epiforge.Extensions.Components (>= 4.0.0)
- System.Management (>= 8.0.0)
-
net9.0-windows7.0
- Epiforge.Extensions.Components (>= 4.0.0)
- System.Management (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Breaking: Theme.Color and Theme.IsDark are read-only, as their documentation always said they were.
User.IdleTime is now read from the session's absolute last-input timestamp, so it is no longer wrong once the system tick count has wrapped; where the session cannot answer, it falls back to the tick count as before. The new User.GetIdleTime returns the same figure along with whether it is exact, which it is except on that fallback after a wrap.
Cursor.GetPosition and Cursor.SetPosition throw Win32Exception when Windows reports failure, rather than returning a position indistinguishable from the origin or silently doing nothing.
The Theme constructor now releases the registry key, the event watcher, and the polling timer it had already created if it fails partway through, where previously it left them running and unreachable.