This SDK can be used for .NET Core, .NET Framework, Mono, Xamarin and Universal Windows Platform applications.
The source code for the client is available on Github.
The client library is available from NuGet and can be added to your project by many tools. You can find the package here https://www.nuget.org/packages/BulletTrain/
The SDK is initialised against a single environment within a project on https://flagsmith.com, for example the Development or Production environment. You can find your environment key in the Environment settings page.
Sign Up and create account at https://flagsmith.com/
In your application initialise the Flagsmith client once with your environment API key and API URL.
You can then use the
instance static variable on
BulletTrainClient anywhere within your app.
To check if a feature flag exists and is enabled:
To get a remote config feature value:
Identifying users allows you to target specific users from the Flagsmith dashboard.
To check if a feature exists and is enabled for a specific user:
To get a remote config value for specific user:
To get user traits:
To get a specific user trait:
To get filtered user traits:
To set or update a user trait:
To increment a numeric user trait:
To retrieve a user identity (both features and traits):