Narod.FullscreenDetector 3.0.1

dotnet add package Narod.FullscreenDetector --version 3.0.1
                    
NuGet\Install-Package Narod.FullscreenDetector -Version 3.0.1
                    
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="Narod.FullscreenDetector" Version="3.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Narod.FullscreenDetector" Version="3.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Narod.FullscreenDetector" />
                    
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 Narod.FullscreenDetector --version 3.0.1
                    
#r "nuget: Narod.FullscreenDetector, 3.0.1"
                    
#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 Narod.FullscreenDetector@3.0.1
                    
#: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=Narod.FullscreenDetector&version=3.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Narod.FullscreenDetector&version=3.0.1
                    
Install as a Cake Tool

Narod's Game Detector

A .NET library written in C# to detect full screen applications and games.

Summary

Searches for on-screen fullscreen windows on the currently focussed screen.

Usage (V2)

V2 has been replaced by V3. If you're still using 2.0.1 or older, please take a look here for instructions.

Usage (V3)

Code examples in C#

  • Download the latest release from the releases tab, or find in the NuGet package manager (Narod.FullscreenDetector)
    • (Only required if downloaded from releases) Add a reference of the library in your project. (Project → Add Reference... → Browse → Browse...)
  • Import in to your program
using Narod.FullscreenDetection;
  • Create instance of FullscreenDetector
FullscreenDetector fullscreenDetector = new FullscreenDetector();
  • Call with the DetectFullscreenApplication function.
fullscreenDetector.detectFullscreenApplication()
  • Get output
appDetails checkedApp = fullscreenDetector.getProgramDetails();
string appName = checkedApp.windowTitle;
bool detection = checkedApp.detected;
int processID = checkedApp.processID;

Further Help

There's a very simple test program included in the solution (called DetectorExample).

Helping

If you find any bugs, please report it as an issue.

To-do:

  • DirectX checks (if possible)
  • Fix issues
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Narod.FullscreenDetector:

Repository Stars
beyluta/WinWidgets
WinWidgets makes web-based desktop widgets easy to develop. Using HTML, CSS, and JavaScript create your own Windows 11 widgets on the fly.
Version Downloads Last Updated
3.0.1 101 7/30/2025
3.0.0 97 7/30/2025
2.0.1 480 11/6/2022
2.0.0 465 9/30/2022
1.2.0 545 5/1/2021
1.1.3 550 1/2/2021

Re-add legacy .NET version