# | Line 46 | Line 46 | public: | |
---|---|---|
46 | ||
47 | WTSQuerySessionInformation(WTS_CURRENT_SERVER_HANDLE, session->SessionId, WTSUserName, &name, &size); | |
48 | ||
49 | < | stream << Utf8(name) << "\r\n"; |
49 | > | std::string name_(Utf8(name)); |
50 | > | |
51 | > | if (!name_.empty()) |
52 | > | stream << name_ << "\r\n"; |
53 | ||
54 | WTSFreeMemory(name); | |
55 | ||
# | Line 60 | Line 63 | public: | |
63 | ||
64 | Finger(const std::string &name) | |
65 | { | |
66 | + | //NetQueryDisplayInformation |
67 | + | //NetUserGetInfo |
68 | } | |
69 | ||
70 | inline operator std::string() |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |