Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string path = @"c:\a\ERepositoryDebug_" + DateTime.Now.ToString("dd-MM-yyyy__hh.mm.ss") + ".xml";
- System.Xml.Serialization.XmlSerializer writer =
- new System.Xml.Serialization.XmlSerializer(typeof(FileNewMetadata));
- System.IO.FileStream file = System.IO.File.Create(path);
- writer.Serialize(file, metadata);
- file.Close();
Add Comment
Please, Sign In to add comment