Narod.FullscreenDetector 2.0.1

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 and Polyglot Notebooks. 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 Compatible and additional computed target framework versions.
.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.
  • .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 386 11/6/2022
2.0.0 398 9/30/2022
1.2.0 430 5/1/2021
1.1.3 450 1/2/2021

- Added exception information to documentation.