-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConfiguration.cs
More file actions
28 lines (25 loc) · 731 Bytes
/
Configuration.cs
File metadata and controls
28 lines (25 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using Newtonsoft.Json;
namespace DiscordRPC
{
/// <summary>
/// Configuration of the current RPC connection
/// </summary>
public class Configuration
{
/// <summary>
/// The Discord API endpoint that should be used.
/// </summary>
[JsonProperty("api_endpoint")]
public string ApiEndpoint { get; set; }
/// <summary>
/// The CDN endpoint
/// </summary>
[JsonProperty("cdn_host")]
public string CdnHost { get; set; }
/// <summary>
/// The type of enviroment the connection on. Usually Production.
/// </summary>
[JsonProperty("enviroment")]
public string Enviroment { get; set; }
}
}