Share via


GameMonitor.GetDefault Method

Definition

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.

Applies to