Skip to content

Commit

Permalink
chore: add a website link to System.Environment.Version remarks (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
poppoerika authored Sep 21, 2022
1 parent ef90032 commit 5ff63f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Momento.Sdk/Internal/ControlGrpcManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ internal sealed class ControlGrpcManager : IDisposable
private readonly GrpcChannel channel;
public ScsControl.ScsControlClient Client { get; }
private readonly string version = "dotnet:" + GetAssembly(typeof(Momento.Sdk.Responses.CacheGetResponse)).GetName().Version.ToString();
// Some System.Environment.Version remarks to be aware of
// https://learn.microsoft.com/en-us/dotnet/api/system.environment.version?view=netstandard-2.0#remarks
private readonly string runtimeVersion = "dotnet:" + System.Environment.Version;

public ControlGrpcManager(string authToken, string endpoint)
Expand Down
2 changes: 2 additions & 0 deletions src/Momento.Sdk/Internal/DataGrpcManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public class DataGrpcManager : IDisposable
public Scs.ScsClient Client { get; }

private readonly string version = "dotnet:" + GetAssembly(typeof(Momento.Sdk.Responses.CacheGetResponse)).GetName().Version.ToString();
// Some System.Environment.Version remarks to be aware of
// https://learn.microsoft.com/en-us/dotnet/api/system.environment.version?view=netstandard-2.0#remarks
private readonly string runtimeVersion = "dotnet:" + System.Environment.Version;

internal DataGrpcManager(string authToken, string host)
Expand Down

0 comments on commit 5ff63f6

Please sign in to comment.