Cogs.Windows 1.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Cogs.Windows --version 1.5.0
NuGet\Install-Package Cogs.Windows -Version 1.5.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="Cogs.Windows" Version="1.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cogs.Windows --version 1.5.0
#r "nuget: Cogs.Windows, 1.5.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.
// Install Cogs.Windows as a Cake Addin
#addin nuget:?package=Cogs.Windows&version=1.5.0

// Install Cogs.Windows as a Cake Tool
#tool nuget:?package=Cogs.Windows&version=1.5.0

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

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 net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
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
1.7.0 219 3/23/2023
1.6.0 248 1/26/2023
1.5.0 375 6/11/2022
1.4.0 379 6/1/2022
1.3.0 407 4/20/2022
1.2.2 284 12/16/2021
1.2.1 293 11/3/2021
1.2.0 300 10/12/2021
1.1.2 318 10/2/2021
1.1.1 301 2/20/2021
1.1.0 297 2/16/2021
1.0.1 296 2/9/2021
1.0.0 301 2/8/2021

We added the ForegroundWindow and ForegroundWindowPosition properties to the WindowingSystem class.