AzureIoTHubConnectedService.ServiceManagementHttpClientBuilder.ApplyDefaultSettings C# (CSharp) Method

ApplyDefaultSettings() private method

private ApplyDefaultSettings ( ) : void
return void
        private void ApplyDefaultSettings()
        {
            this.UserAgent = ProductInfoHeaderValue.Parse("VisualStudio2015");
            this.MsVersion = "2013-11-01";
            this.AcceptLanguage = CultureInfo.CurrentUICulture.Name;

            // AzureRM should use JSON
            this.Formatter = JsonMediaTypeFormatter.Default;
        }
    }