Class SdkMetadata
Metadata about the SDK itself.
Inherited Members
Namespace: LaunchDarkly.Sdk.Integrations.Plugins
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
public sealed class SdkMetadata
Constructors
SdkMetadata(string, string, string, string)
Initializes a new instance of the SdkMetadata class.
Declaration
public SdkMetadata(string name, string version, string wrapperName = null, string wrapperVersion = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The id of the SDK. This should match the identifier in the SDK. It should be either the x-launchdarkly-user-agent or the user-agent. |
| string | version | The version of the SDK. |
| string | wrapperName | If this SDK is a wrapper, then this should be the wrapper name. |
| string | wrapperVersion | If this SDK is a wrapper, then this should be the wrapper version. |
Properties
Name
Gets the id of the SDK. This should match the identifier in the SDK. This field should be either the x-launchdarkly-user-agent or the user-agent.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Version
Gets the version of the SDK.
Declaration
public string Version { get; }
Property Value
| Type | Description |
|---|---|
| string |
WrapperName
Gets the wrapper name if this SDK is a wrapper.
Declaration
public string WrapperName { get; }
Property Value
| Type | Description |
|---|---|
| string |
WrapperVersion
Gets the wrapper version if this SDK is a wrapper.
Declaration
public string WrapperVersion { get; }
Property Value
| Type | Description |
|---|---|
| string |