Skip to content

Commit 9118c9b

Browse files
committed
Update botframework version to 3.1 in the User-Agent
1 parent 9eba8d3 commit 9118c9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CSharp/Library/Microsoft.Bot.Connector/ConnectorClientEx.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ partial void CustomInitialize()
5353

5454
internal static void AddUserAgent<T>(T client) where T : ServiceClient<T>
5555
{
56-
client.HttpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("Microsoft-BotFramework", "3.0"));
56+
client.HttpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("Microsoft-BotFramework", "3.1"));
5757
client.HttpClient.DefaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue($"(BotBuilder .Net/{GetClientVersion(client)})"));
5858
}
5959

Node/core/src/bots/ChatConnector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var pjson = require('../../package.json');
4949

5050
var MAX_DATA_LENGTH = 65000;
5151

52-
var USER_AGENT = "Microsoft-BotFramework/3.0 (BotBuilder Node.js/"+ pjson.version +")";
52+
var USER_AGENT = "Microsoft-BotFramework/3.1 (BotBuilder Node.js/"+ pjson.version +")";
5353

5454
export interface IChatConnectorSettings {
5555
appId?: string;

0 commit comments

Comments
 (0)