Esempio n. 1
0
 public void AddPart(string filename)
 {
     Parts.Add(MmsPart.FromFile(filename));
 }
Esempio n. 2
0
        /// <summary>
        /// Creates a MmsPart from a file
        /// </summary>
        /// <param name="filename">A valid path to a existing file</param>
        public static MmsPart FromFile(string filename)
        {
            var name = new FileInfo(filename).Name;

            return(MmsPart.FromFile(filename, name));
        }