Class OpenPortObject
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.CST.AttackSurfaceAnalyzer.Objects
Assembly: AsaLib.dll
Syntax
public class OpenPortObject : CollectObject
Constructors
| Improve this Doc View SourceOpenPortObject(Int32, TRANSPORT)
Declaration
public OpenPortObject(int Port, TRANSPORT Type)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Port | |
TRANSPORT | Type |
OpenPortObject(Int32, TRANSPORT, ADDRESS_FAMILY)
Declaration
public OpenPortObject(int Port, TRANSPORT Type, ADDRESS_FAMILY AddressFamily)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | Port | |
TRANSPORT | Type | |
ADDRESS_FAMILY | AddressFamily |
Properties
| Improve this Doc View SourceAddress
Declaration
public string Address { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AddressFamily
InterNetwork is IPv4 InterNetworkV6 is IPv6
Declaration
public ADDRESS_FAMILY AddressFamily { get; set; }
Property Value
Type | Description |
---|---|
ADDRESS_FAMILY |
Identity
$"{Address}:{Family}:{Type}:{Port}:{ProcessName}"
Declaration
public override string Identity { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourcePort
The port number
Declaration
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ProcessName
Declaration
public string ProcessName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
TCP or UDP
Declaration
public TRANSPORT Type { get; set; }
Property Value
Type | Description |
---|---|
TRANSPORT |