TelemetryAgent 0.0.7

dotnet add package TelemetryAgent --version 0.0.7
                    
NuGet\Install-Package TelemetryAgent -Version 0.0.7
                    
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="TelemetryAgent" Version="0.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TelemetryAgent" Version="0.0.7" />
                    
Directory.Packages.props
<PackageReference Include="TelemetryAgent" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TelemetryAgent --version 0.0.7
                    
#r "nuget: TelemetryAgent, 0.0.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TelemetryAgent@0.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TelemetryAgent&version=0.0.7
                    
Install as a Cake Addin
#tool nuget:?package=TelemetryAgent&version=0.0.7
                    
Install as a Cake Tool

Edgegap.TelemetryAgent

EdgegapLogo

Telemetry Agent is a .NET library that allows you to easily collect and send telemetry data from your .NET applications to Edgegap.

Features

  • Collects telemetry data for your .NET applications
  • Sends telemetry data to Arbitrium
  • Decrease deployment time by implementing this package in your game

Configuration

To setup the Telemetry Agent, you'll first need to get the agent with the GetAgent() static function from Edgegap.TelemetryAgent.TelemetryAgentFactory.

Once you have a TelemetryAgent instance, you can call the .Start() function to start the client.

// Creating URL to send the telemetry to.
Uri telemetryAgentUri = new Uri("https://console-agent.edgegap.com");
string config = "./config";

// Creating a custom Logger
Ilogger logger = new Logger();

// Instanciating the telemetry agent with the a custom logger,
// the location of the config and the URI to send telemetry to.
var telemetryAgent = Edgegap.TelemetryAgent.TelemetryAgentFactory.GetAgent(logger, config, telemetryAgentUri);

// Starting the service
telemetryAgent.Start();

// Getting the Client UUID
string playerUUID = telemetryAgent.PlayerUUID;

// Stoping the service
telemetryAgent.Stop();

For a current example on how to implement this, follow this guide on our documentation

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.7 212 5/9/2023
0.0.6 202 5/8/2023
0.0.5 215 5/5/2023
0.0.3 220 5/5/2023
0.0.2 208 5/5/2023
0.0.1 222 5/5/2023