Skip to content

lmagder/OptimusEnablementNET

Repository files navigation

OptimusEnablementNET

This is an example of adding a data export to a C# program to select the correct GPU on an NVIDIA Optimus System.

It works around the fact that you can't directly export a symbol in C# by editing the IL after compilation and the fact you can only export code in .NET by editing the export's value at module load.

About

Example of exporting a data symbol in C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages