Narod.FullscreenDetector
1.2.0
See the version list below for details.
dotnet add package Narod.FullscreenDetector --version 1.2.0
NuGet\Install-Package Narod.FullscreenDetector -Version 1.2.0
<PackageReference Include="Narod.FullscreenDetector" Version="1.2.0" />
paket add Narod.FullscreenDetector --version 1.2.0
#r "nuget: Narod.FullscreenDetector, 1.2.0"
// Install Narod.FullscreenDetector as a Cake Addin #addin nuget:?package=Narod.FullscreenDetector&version=1.2.0 // Install Narod.FullscreenDetector as a Cake Tool #tool nuget:?package=Narod.FullscreenDetector&version=1.2.0
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. Will return a List(Of Object).
Usage
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 FullScreenDetection
- Create instance of FullscreenDetecter
Dim FullscreenDetectClient as New FullscreenDetecter
- Call with either the DetectFullscreenApplication function, or DetectGameFullscreen.
Dim detectionappresponse As List(Of Object) = FullscreenDetectClient.DetectFullscreenApplication()
Dim detectiongameresponse As List(Of Object) = FullscreenDetectClient.DetectGameFullscreen()
Dim customappresponse As List(Of Object) = FullscreenDetectClient.DetectCustomFullscreen("(partial/complete)-window-title-of-application-here")
Both functions will return the a list of objects:
- Position 0 is a boolean, which will be True if it successfully detected something, or False if not.
- Position 1 is a string, with the window text of the program detected (if detected, otherwise no item added)
- Position 2 is a UInteger, with the process PID of the program detected (if detected, otherwise no item added)
DetectFullscreenApplication will return any full screen application. DetectGameFullscreen will filter out select programs that checks are in place for (e.g. web browsers).
Further Help
Please see my video here: https://www.youtube.com/watch?v=BfuTOI5MK0A
Helping
If you find any bugs, please report it as an issue.
To-do:
- DirectX checks (if possible)
- Fix issues
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.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.