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"); }
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"); }