<VersioningConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <Status>Enabled</Status> </VersioningConfiguration>
using (XmlWriter writer = XmlWriter.Create(filepath)) { XNamespace ns = "http://s3.amazonaws.com/doc/2006-03-01/"; var doc = new XDocument( new XElement(ns + "VersioningConfiguration")); doc.WriteTo(writer); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)