SimpleImpersonation 4.2.0

.NET Standard 2.0 .NET Framework 4.6.1
dotnet add package SimpleImpersonation --version 4.2.0
NuGet\Install-Package SimpleImpersonation -Version 4.2.0
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="SimpleImpersonation" Version="4.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleImpersonation --version 4.2.0
#r "nuget: SimpleImpersonation, 4.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SimpleImpersonation as a Cake Addin
#addin nuget:?package=SimpleImpersonation&version=4.2.0

// Install SimpleImpersonation as a Cake Tool
#tool nuget:?package=SimpleImpersonation&version=4.2.0

A tiny library that lets you impersonate any user, by acting as a managed wrapper for the LogonUser Win32 function.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on SimpleImpersonation:

Package Downloads

Common libraries to simplify microsoft interop development


Common libraries to handle logging, exceptions and file manipulation


xUnit.UserContext is an attribute based extension for xUnit that adds [UserFact] and [UserTheory] attributes, allowing tests to run under the context of a given Windows user.


Easily Impersonate with credentials saved in windows credentials manager


Package Description

GitHub repositories (2)

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

Repository Stars
Professional TLS/SSL Certificate Manager UI for Windows, powered by Let's Encrypt and compatible with all ACME v2 CAs. Download from
Free Open Source Enterprise Grade RPA
Version Downloads Last updated
4.2.0 84,919 1/6/2022
4.1.0 260 1/6/2022
4.0.0 18,930 12/12/2021
3.0.0 853,617 7/6/2018
2.0.1 838,504 6/15/2016
2.0.0 2,693 6/15/2016
1.1.0 26,095 1/1/2016
1.0.1 77,069 10/8/2013
1.0.0 2,009 7/2/2013