Cogs.Windows 1.5.0

.NET Standard 2.1
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.
dotnet add package Cogs.Windows --version 1.5.0
<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, C# scripting and .NET Interactive. 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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
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.5.0 68 6/11/2022
1.4.0 77 6/1/2022
1.3.0 107 4/20/2022
1.2.2 151 12/16/2021
1.2.1 162 11/3/2021
1.2.0 179 10/12/2021
1.1.2 198 10/2/2021
1.1.1 180 2/20/2021
1.1.0 175 2/16/2021
1.0.1 175 2/9/2021
1.0.0 180 2/8/2021

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