Narod.FullscreenDetector 2.0.1

.NET Framework 4.7.2
dotnet add package Narod.FullscreenDetector --version 2.0.1
NuGet\Install-Package Narod.FullscreenDetector -Version 2.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="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Narod.FullscreenDetector --version 2.0.1
#r "nuget: Narod.FullscreenDetector, 2.0.1"
#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 Narod.FullscreenDetector as a Cake Addin
#addin nuget:?package=Narod.FullscreenDetector&version=2.0.1

// Install Narod.FullscreenDetector as a Cake Tool
#tool nuget:?package=Narod.FullscreenDetector&version=2.0.1

Narod's Game Detector

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

Summary

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

Usage (V1)

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

Usage (V2)

Code examples in VB.NET

  • 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
Imports Narod.FullscreenDetection
  • Create instance of FullscreenDetecter
Dim FullscreenDetectClient As New FullscreenDetector
  • Call with the DetectFullscreenApplication function.
FullscreenDetectClient.DetectFullscreenApplication()
  • Get output
Dim hasDetectedFullscreenApplication as Boolean = FullscreenDetectClient.GetHasDetected()
Dim programNameDetected As String = FullscreenDetectClient.GetProgramDetected() // throws nullreferenceexception if GetHasDetected is False
Dim processIDDetected As UInteger = FullscreenDetectClient.GetProcessIDDetected() // throws nullreferenceexception if GetHasDetected is False

Further Help

I'll release a video at some point detailing how to use V2. My current video is for V1 which is significantly different, so those instructions won't work.

Helping

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

To-do:

  • DirectX checks (if possible)
  • Fix issues
Product Versions
.NET Framework net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

    • No dependencies.

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
2.0.1 161 11/6/2022
2.0.0 192 9/30/2022
1.2.0 306 5/1/2021
1.1.3 334 1/2/2021

- Added exception information to documentation.