示例#1
0
        //
        // Summary:
        //     Starts watching for discoverable remote systems.
        public void Start()
        {
            this.listener = new RemoteSystemDiscoveryListener(this);
            this.builder  = this.builder.SetListener(this.listener);

            if (filters != null)
            {
                foreach (var filter in this.filters)
                {
                    this.builder = this.builder.Filter(filter);
                }
            }

            this.watcher = this.builder.Result;
            this.watcher.Start();
        }
示例#2
0
 //
 // Summary:
 //     Starts watching for discoverable remote systems.
 public void Start()
 {
     this.listener = new RemoteSystemDiscoveryListener(this);
     this.watcher  = this.builder.SetListener(this.listener).Result;
     this.watcher.Start();
 }
示例#3
0
 //
 // Summary:
 //     Starts watching for discoverable remote systems.
 public void Start()
 {
     _listener = new RemoteSystemDiscoveryListener(this);
     _watcher  = _builder.SetListener(_listener).Result;
     _watcher.Start();
 }