<aside> <img src="/icons/reorder_gray.svg" alt="/icons/reorder_gray.svg" width="40px" />
Menu
</aside>
SDK Documentation
<aside> <img src="/icons/link_gray.svg" alt="/icons/link_gray.svg" width="40px" />
</aside>
<aside> <img src="/icons/mail_gray.svg" alt="/icons/mail_gray.svg" width="40px" />
</aside>
<aside> <img src="/icons/geography_gray.svg" alt="/icons/geography_gray.svg" width="40px" />
United States and Remote
</aside>
The Legion solution is a set of libraries and tools you can build into your application to provide protections against known exploits and attack vectors.
It comes pre-configured with detections and countermeasures, so it starts working right away.
To integrate with Legion, you must meet the conditions in the following table.
| Requirement | Details |
|---|---|
| Repository access | To access the GitHub repository for the Legion suite, work with the Legion team. You must have access to the legion-integrators GitHub group. |
| Visual Studio | The build solutions for Legion supports Visual Studio 2017, 2019, and 2022. Select the build solution that matches your Visual Studio version. |
The following table lists known compatibility statuses for third-party utilities.
| Utility | Type | Compatibility |
|---|---|---|
| BitDefender | Anti-virus and Firewall | Yes |
| Interception driver | Device driver for injected input | No |
| Nvidia Share | Screen capture | Yes |
| Sophos | Protection suite | No |
Contact the Legion team to request a compatibility investigation for a specific utility.
Legion includes tools in the file legion-tools.sln.
Build the tools included in the Legion SDK by selecting the TOOLS build configuration.
<aside> ⚠️
When updating to a new version of Legion, always fully rebuild tools and libraries.
</aside>
The tools available include:
Legion also provides many API endpoints for end-user identification, telemetry messaging, signature validation, and memory protections. For more information, see the Legion APIs.
Integrate with the Legion solution by following these steps:
Retrieve the latest version of Legion from the legion-dev repository.
In the repository, read the release notes and readme file for detailed information about changes to the SDK and options you need to know.
Developers can get builds by:
git pull and checking out the branch or tag that matches their requirements with git checkout.After you retrieve the SDK, add it to a source code directory for your application.
Open the build solution in Visual Studio and configure the build options.
Open the solution from the top level with one of the Legion solutions (legion_2017, legion_2019, or legion_2022) so the year matches the Visual Studio and platform toolset your application intends to use.
The Review Solution Actions dialogue provides the option to upgrade the platform toolset. Don't take this action, as it upgrades the projects configured for VS2017. Instead, select the dialogue's Cancel button.
Set the 0\_BUILD\LEGION\ project as the Startup project:
After opening the solution file, select the build configuration.
The build configuration follows the naming convention M(D|S)-(Dev|QA|Prod):
The configuration builds for integration modes aren't meant for public release. You receive a warning at build time if these modes are turned on to ensure they aren't distributed.
To configure the properties for Legion:
Developers might want to make adjustments to these Application Settings during the initial setup: