示例#1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     Logger.Info("Search Started");
     _client.DeviceFound += DeviceFound;
     _client.DeviceLost  += DeviceLost;
     _client.FindByType("urn:ses-com:device:SatIPServer:1");
 }
示例#2
0
 public Form1()
 {
     InitializeComponent();
     Logger.SetLogFilePath("Sample.log", Settings.Default.LogLevel);
     Logger.Info("Search for Transmitters");
     _client.DeviceFound += DeviceFound;
     _client.DeviceLost  += DeviceLost;
     _client.Start();
     _client.FindByType("urn:ses-com:device:SatIPServer:1");
 }