LaunchDarkly.ClientSdk
5.8.0
Prefix Reserved
dotnet add package LaunchDarkly.ClientSdk --version 5.8.0
NuGet\Install-Package LaunchDarkly.ClientSdk -Version 5.8.0
<PackageReference Include="LaunchDarkly.ClientSdk" Version="5.8.0" />
<PackageVersion Include="LaunchDarkly.ClientSdk" Version="5.8.0" />
<PackageReference Include="LaunchDarkly.ClientSdk" />
paket add LaunchDarkly.ClientSdk --version 5.8.0
#r "nuget: LaunchDarkly.ClientSdk, 5.8.0"
#:package LaunchDarkly.ClientSdk@5.8.0
#addin nuget:?package=LaunchDarkly.ClientSdk&version=5.8.0
#tool nuget:?package=LaunchDarkly.ClientSdk&version=5.8.0
LaunchDarkly Client-Side SDK for .NET
The LaunchDarkly Client-Side SDK for .NET is designed primarily for use by code that is deployed to an end user, such as in a desktop application or a smart device. It follows the client-side LaunchDarkly model for single-user contexts (much like our mobile or JavaScript SDKs). It is not intended for use in multi-user systems such as web servers and applications.
On platforms with MAUI support (Android, iOS, Mac, Windows), the SDK depends on the MAUI framework which allows .NET code to run on those devices. However, MAUI is not the only way to run .NET code in a client-side context (see "Supported platforms" below), so the SDK has a more general name.
For using LaunchDarkly in server-side .NET applications, refer to our Server-Side .NET SDK.
LaunchDarkly overview
LaunchDarkly is a feature management platform that serves trillions of feature flags daily to help teams build better software, faster. Get started using LaunchDarkly today!
Supported platforms
This version of the SDK is built for the following targets:
- .Net Standard 2.0
- .Net 8 Android, for use with Android 5.0 (Android API 21) and higher.
- .Net 8 iOS, for use with iOS 11 and higher.
- .Net 8 macOS (using Mac Catalyst), for use with macOS 11 and higher.
- .Net 8 Windows (using WinUI), for Windows 11 and Windows 10 version 1809 or higher.
- .NET 8
The .Net Standard and .Net 8.0 targets have no OS-specific code. This allows the SDK to be used in a desktop .NET Framework or .NET 8.0 application. However, due to the lack of OS-specific integration, SDK functionality will be limited in those environments: for instance, the SDK will not be able to detect whether networking is turned on or off.
The .NET build tools should automatically load the most appropriate build of the SDK for whatever platform your application or library is targeted to.
Known Issues
Currently UWP has an issue with streaming network requests. For more information, refer to this issue: https://github.com/dotnet/runtime/issues/108622 This may be resolved by .NET 9.0 UWP support.
Getting started
Refer to the SDK documentation for instructions on getting started with using the SDK.
Learn more
Read our documentation for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the complete reference guide for this SDK.
The authoritative description of all types, properties, and methods is in the generated API documentation.
Testing
We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs, as well as test networking behavior in a long-running application. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.
Contributing
We encourage pull requests and other contributions from the community. Check out our contributing guidelines for instructions on how to contribute to this SDK.
Verifying build provenance with the SLSA framework
LaunchDarkly uses the SLSA framework (Supply-chain Levels for Software Artifacts) to help developers make their supply chain more secure by ensuring the authenticity and build integrity of our published packages. To learn more, see the provenance guide.
About LaunchDarkly
- LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
- Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
- Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
- Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
- Grant access to certain features based on user attributes, like payment plan (eg: users on the 'gold' plan get access to more features than users in the 'silver' plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
- LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out our documentation for a complete list.
- Explore LaunchDarkly
- launchdarkly.com for more information
- docs.launchdarkly.com for our documentation and SDK reference guides
- apidocs.launchdarkly.com for our API documentation
- blog.launchdarkly.com for the latest product updates
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-android21.0 is compatible. net8.0-browser was computed. net8.0-ios was computed. net8.0-ios1.0 is compatible. net8.0-maccatalyst was computed. net8.0-maccatalyst1.0 is compatible. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- LaunchDarkly.CommonSdk (>= 7.2.0)
- LaunchDarkly.EventSource (>= 5.2.1)
- LaunchDarkly.InternalSdk (>= 3.6.1)
- LaunchDarkly.Logging (>= 2.0.0)
- Microsoft.Maui.Essentials (>= 8.0.100)
- System.Numerics.Vectors (>= 4.5.0)
- System.Text.Json (>= 6.0.10)
-
net8.0
- LaunchDarkly.CommonSdk (>= 7.2.0)
- LaunchDarkly.EventSource (>= 5.2.1)
- LaunchDarkly.InternalSdk (>= 3.6.1)
- LaunchDarkly.Logging (>= 2.0.0)
- Microsoft.Maui.Essentials (>= 8.0.100)
- System.Numerics.Vectors (>= 4.5.0)
-
net8.0-android21.0
- LaunchDarkly.CommonSdk (>= 7.2.0)
- LaunchDarkly.EventSource (>= 5.2.1)
- LaunchDarkly.InternalSdk (>= 3.6.1)
- LaunchDarkly.Logging (>= 2.0.0)
- Microsoft.Maui.Essentials (>= 8.0.100)
- System.Numerics.Vectors (>= 4.5.0)
-
net8.0-ios1.0
- LaunchDarkly.CommonSdk (>= 7.2.0)
- LaunchDarkly.EventSource (>= 5.2.1)
- LaunchDarkly.InternalSdk (>= 3.6.1)
- LaunchDarkly.Logging (>= 2.0.0)
- Microsoft.Maui.Essentials (>= 8.0.100)
- System.Numerics.Vectors (>= 4.5.0)
-
net8.0-maccatalyst1.0
- LaunchDarkly.CommonSdk (>= 7.2.0)
- LaunchDarkly.EventSource (>= 5.2.1)
- LaunchDarkly.InternalSdk (>= 3.6.1)
- LaunchDarkly.Logging (>= 2.0.0)
- Microsoft.Maui.Essentials (>= 8.0.100)
- System.Numerics.Vectors (>= 4.5.0)
-
net8.0-windows7.0
- LaunchDarkly.CommonSdk (>= 7.2.0)
- LaunchDarkly.EventSource (>= 5.2.1)
- LaunchDarkly.InternalSdk (>= 3.6.1)
- LaunchDarkly.Logging (>= 2.0.0)
- Microsoft.Maui.Essentials (>= 8.0.100)
- System.Numerics.Vectors (>= 4.5.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on LaunchDarkly.ClientSdk:
| Package | Downloads |
|---|---|
|
LaunchDarkly.SessionReplay
LD Session Replay package for .NET MAUI |
|
|
LaunchDarkly.DemoObservability
LD Session Replay package for .NET MAUI |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.8.0 | 289 | 5/27/2026 |
| 5.7.3 | 87 | 5/27/2026 |
| 5.7.2 | 242 | 5/26/2026 |
| 5.7.1 | 5,260 | 4/10/2026 |
| 5.7.0 | 7,594 | 3/14/2026 |
| 5.6.0 | 2,014 | 3/3/2026 |
| 5.5.4 | 121,089 | 9/29/2025 |
| 5.5.3 | 8,512 | 9/25/2025 |
| 5.5.2 | 44,556 | 8/26/2025 |
| 5.5.1 | 148,854 | 6/24/2025 |
| 5.5.0 | 6,434 | 6/2/2025 |
| 5.4.0 | 20,744 | 5/12/2025 |
| 5.3.0 | 439,951 | 11/1/2024 |
| 5.2.1 | 190,536 | 6/5/2024 |
| 5.2.0 | 12,591 | 5/8/2024 |
| 5.1.0 | 73,014 | 3/14/2024 |
| 5.0.0 | 9,811 | 2/13/2024 |
| 5.0.0-alpha.2 | 3,683 | 12/21/2023 |
| 5.0.0-alpha.1 | 194 | 12/20/2023 |