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

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

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