| | 1 | | namespace SharpHoundRPC.NetAPINative |
| | 2 | | { |
| | 3 | | public class NetWkstaUserEnumResults |
| | 4 | | { |
| | 5 | | public NetWkstaUserEnumResults(string username, string domain) |
| | 6 | | { |
| | 7 | | LogonDomain = domain; |
| | 8 | | Username = username; |
| | 9 | | } |
| | 10 | |
|
| | 11 | | public string LogonDomain { get; } |
| | 12 | | public string Username { get; } |
| | 13 | | } |
| | 14 | |
|
| | 15 | | public class NetSessionEnumResults |
| | 16 | | { |
| 7 | 17 | | public NetSessionEnumResults(string username, string cname) |
| 7 | 18 | | { |
| 7 | 19 | | Username = username; |
| 7 | 20 | | ComputerName = cname; |
| 7 | 21 | | } |
| | 22 | |
|
| 7 | 23 | | public string Username { get; } |
| 7 | 24 | | public string ComputerName { get; } |
| | 25 | | } |
| | 26 | | } |