internal static void Configure(V4ClientSection section) { if (section.ElementInformation.IsPresent) { UseSignatureVersion4 = section.UseSignatureVersion4.GetValueOrDefault(); } }
public V4ClientSectionRoot(XElement section) { if (section != null) { S3 = AWSConfigs.GetObject <V4ClientSection>(section, "s3"); } }
static AWSConfigsS3() { //IL_002a: Unknown result type (might be due to invalid IL or missing references) _useSignatureVersion4 = false; UseSigV4SetExplicitly = false; string config = AWSConfigs.GetConfig("AWS.S3.UseSignatureVersion4"); if (!string.IsNullOrEmpty(config)) { UseSignatureVersion4 = bool.Parse(config); } XElement serviceSection = new RootConfig().GetServiceSection("s3"); if (serviceSection != null) { V4ClientSectionRoot v4ClientSectionRoot = new V4ClientSectionRoot(serviceSection); if (v4ClientSectionRoot.S3 != null) { V4ClientSection s = v4ClientSectionRoot.S3; if (s.get_ElementInformation().get_IsPresent() && s.UseSignatureVersion4.HasValue) { UseSignatureVersion4 = s.UseSignatureVersion4.Value; } } } }