A .NET library written in VB.NET to detect full screen applications and games.
Searches for on-screen fullscreen windows on the currently focussed screen. Will return a List(Of Object).
V1 has been replaced by V2. If you're using 2.0.0 or newer, please take a look here for instructions.
Code examples in VB.NET
- Download the 1.2.0 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).
Please see my video here: https://www.youtube.com/watch?v=BfuTOI5MK0A
I'm not accepting updates or issues for V1.
You'll need to update to V2, please take a look here for how to migrate.