Class SdkVersion
Information about the SDK to be sent with the SentryEvent
Inherited Members
Namespace: Sentry.Protocol
Assembly: Sentry.Protocol.dll
Syntax
[DataContract]
public class SdkVersion
Remarks
Requires Sentry version 8.4 or higher
Properties
| Improve this Doc View SourceName
SDK name
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Packages
SDK packages
Declaration
public IEnumerable<Package> Packages { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Package> |
Remarks
This property is not required
Version
SDK Version
Declaration
[DataMember(Name = "version", EmitDefaultValue = false)]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc View SourceAddPackage(String, String)
Add a package used to compose the SDK
Declaration
public void AddPackage(string name, string version)
Parameters
Type | Name | Description |
---|---|---|
String | name | The package name. |
String | version | The package version. |