AddWatch() public method

public AddWatch ( string pathname ) : void
pathname string
return void
Esempio n. 1
0
 public WmiWatchListener(WmiSession session, ManagementEventWatcher ev, string pathname) : base(ev)
 {
     this.pathname = pathname;
     this.session  = session;
     session.AddWatch(pathname);
 }
Esempio n. 2
0
 public WmiWatchListener(WmiSession session, ManagementEventWatcher ev, string pathname)
     : base(ev)
 {
     this.pathname = pathname;
     this.session = session;
     session.AddWatch(pathname);
 }