The SessionWatch type exposes the following members.
Methods
Name | Description | |
---|---|---|
ChangeWatchedSessions |
Changes the list of users, stations, and computers to watch for user login/logout events.
| |
ChangeWatchedSessionsAsync |
Asynchronously changes the list of users, stations, and computers to watch for user login/logout events.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWatchedSessions |
Gets all watched Sessions for any watched user, station or machine.
| |
IsWatching()()()() |
Determines whether a watch is active.
| |
IsWatching(SessionWatchId) |
Determines whether a watch is active and if the specified value is being watched.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
StartWatching |
Sets a watch for login/logout events for users, all users on a station, or all users on a computer.
| |
StartWatchingAsync |
Asynchronously sets a watch for login/logout events for users, all users on a station, or all users on a computer.
| |
StopWatching |
Stops all watches.
| |
StopWatchingAsync |
Asynchronously stops all watches.
| |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |