Narod.FullscreenDetector
2.0.1
dotnet add package Narod.FullscreenDetector --version 2.0.1
NuGet\Install-Package Narod.FullscreenDetector -Version 2.0.1
<PackageReference Include="Narod.FullscreenDetector" Version="2.0.1" />
paket add Narod.FullscreenDetector --version 2.0.1
#r "nuget: Narod.FullscreenDetector, 2.0.1"
// 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 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.
- Added exception information to documentation.