GameMonitor.GetDefault Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an instance of the GameMonitor class.
Important
As of Windows 10, version 1809 (10.0; Build 17763), this API is removed from the public API surface of Windows.
public:
static GameMonitor ^ GetDefault();
static GameMonitor GetDefault();
public static GameMonitor GetDefault();
function getDefault()
Public Shared Function GetDefault () As GameMonitor
Returns
An instance of the GameMonitor class.
Remarks
If this returns null, then game monitoring is not supported on the platform. Desktop is the only platform where game monitoring is currently supported.