31 lines · 669 B · C#
RawDownload
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; using System.IO;using System.Xml.Serialization; using DNP3Adapters; namespace DNP3ConfigGenerator{    class Program    {        static void Main(string[] args)        {            var ser = new XmlSerializer(typeof(MasterConfiguration));            var stream = new StreamWriter("device.xml");            try            {                var config = new MasterConfiguration();                ser.Serialize(stream, config);            }            finally            {                stream.Close();            }        }    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t