Save() public method

public Save ( ) : void
return void
コード例 #1
0
ファイル: Configuration.cs プロジェクト: openhome/ohSongcast
 private static Configuration New(string aPath)
 {
     Configuration configuration = new Configuration();
     configuration.Subnet = 0;
     configuration.Multicast = false;
     configuration.Channel = (uint)(new Random().Next(65535) + 1);
     configuration.Ttl = 1;
     configuration.Latency = 100;
     configuration.Preset = 0;
     configuration.SetPath(aPath);
     configuration.Save();
     return (configuration);
 }