Пример #1
0
        private void OnDiscoveryCompleted()
        {
            if (DiscoveryCompleted != null)
            {
                DiscoveryCompleted(this, EventArgs.Empty);
            }

            workTracker = null;
        }
Пример #2
0
 public void FindAsync()
 {
     workTracker = new WorkItemTracker(OnDiscoveryCompleted);
     ssdpFinder.FindAsync();
 }