< Summary

Class:SharpHoundRPC.NetAPINative.NetSessionEnumResults
Assembly:SharpHoundRPC
File(s):D:\a\SharpHoundCommon\SharpHoundCommon\src\SharpHoundRPC\NetAPINative\NetAPIReturns.cs
Covered lines:7
Uncovered lines:0
Coverable lines:7
Total lines:26
Line coverage:100% (7 of 7)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.ctor(...)100%10100%

File(s)

D:\a\SharpHoundCommon\SharpHoundCommon\src\SharpHoundRPC\NetAPINative\NetAPIReturns.cs

#LineLine coverage
 1namespace 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    {
 717        public NetSessionEnumResults(string username, string cname)
 718        {
 719            Username = username;
 720            ComputerName = cname;
 721        }
 22
 723        public string Username { get; }
 724        public string ComputerName { get; }
 25    }
 26}