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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Epiforge.Extensions.Platforms.Windows" Version="3.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Epiforge.Extensions.Platforms.Windows" Version="3.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Epiforge.Extensions.Platforms.Windows" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Epiforge.Extensions.Platforms.Windows --version 3.0.0
                    
#r "nuget: Epiforge.Extensions.Platforms.Windows, 3.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Epiforge.Extensions.Platforms.Windows@3.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Epiforge.Extensions.Platforms.Windows&version=3.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Epiforge.Extensions.Platforms.Windows&version=3.0.0
                    
Install as a Cake Tool

This library includes utilities for interoperation with Microsoft Windows, including:

  • Activation - provides information relating to Windows Activation
  • ConsoleAssist - provides methods for interacting with consoles
  • Cursor - wraps Win32 API methods dealing with the cursor
  • Shell - wraps methods of the WScript.Shell COM object (specifically useful for invoking its CreateShortcut function)
  • Theme - represents the current Windows theme (its Color and IsDark properties report what Windows says and are not settable)
  • User - provides properties concerning the user, including IdleTime; GetIdleTime returns 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 wrapped
  • WindowingSystem - 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 process
  • GetParentProcess - gets the parent process of the specified process
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 200 8/27/2026
2.0.1 258 12/24/2025
2.0.0 324 4/17/2025
1.0.1 353 8/15/2023
1.0.0 304 8/15/2023

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.