Detours 4.0.1

dotnet add package Detours --version 4.0.1
NuGet\Install-Package Detours -Version 4.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Detours" Version="4.0.1">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Detours --version 4.0.1
#r "nuget: Detours, 4.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Detours as a Cake Addin
#addin nuget:?package=Detours&version=4.0.1

// Install Detours as a Cake Tool
#tool nuget:?package=Detours&version=4.0.1

Microsoft Research Detours Package

Detours is a software package for monitoring and instrumenting API calls on Windows. Detours has been used by many ISVs and is also used by product teams at Microsoft. Detours is now available under a standard open source license (MIT). This simplifies licensing for programmers using Detours and allows the community to support Detours using open source tools and processes.

Detours is compatible with the Windows NT family of operating systems: Windows NT, Windows XP, Windows Server 2003, Windows 7, Windows 8, and Windows 10. It cannot be used by Window Store apps because Detours requires APIs not available to those applications. This repo contains the source code for version 4.0.1 of Detours.

For technical documentation on Detours, see the Detours Wiki. For directions on how to build and run samples, see the samples README.txt file.


The Detours repository is where development is done. Here are some ways you can participate in the project:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.

Issues, questions, and feedback

Mailing list for announcements

The detours-announce mailing list is a low-traffic email list for important announcements about the project, such as the availability of new versions of Detours. To join it, send an email to with a message body containing only the text SUBSCRIBE DETOURS-ANNOUNCE. To leave it, send an email to with a message body containing only the text UNSUBSCRIBE DETOURS-ANNOUNCE.


Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License.

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on Detours:

Repository Stars
繽放 - 樂豆第三方客戶端
Browser Protector against various stealers, written in C# & C/C++.
Version Downloads Last updated
4.0.1 93,741 5/7/2019