private void SetUserAgent()
        {
            var components = new[]
            {
                UserAgent,
                UserAgentBuilder.GetSdkComponent(),
                UserAgentBuilder.GetApplicationComponent()
            };

            UserAgent = string.Join("/", components);
        }
Exemple #2
0
        private void SetUserAgent()
        {
            var components = new[]
            {
                UserAgent,
                System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription,
                UserAgentBuilder.GetSdkComponent(),
                UserAgentBuilder.GetApplicationComponent()
            };

            UserAgent = string.Join("/", components);
        }