Show / Hide Table of Contents

Class OpenPortObject

Inheritance
System.Object
CollectObject
OpenPortObject
Inherited Members
CollectObject.ResultType
CollectObject.RowKey
CollectObject.Serialized
CollectObject.ShouldSerializeRowKey()
CollectObject.ShouldSerializeSerialized()
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 Source

OpenPortObject(Int32, TRANSPORT)

Declaration
public OpenPortObject(int Port, TRANSPORT Type)
Parameters
Type Name Description
System.Int32 Port
TRANSPORT Type
| Improve this Doc View Source

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 Source

Address

Declaration
public string Address { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

AddressFamily

InterNetwork is IPv4 InterNetworkV6 is IPv6

Declaration
public ADDRESS_FAMILY AddressFamily { get; set; }
Property Value
Type Description
ADDRESS_FAMILY
| Improve this Doc View Source

Identity

$"{Address}:{Family}:{Type}:{Port}:{ProcessName}"

Declaration
public override string Identity { get; }
Property Value
Type Description
System.String
Overrides
CollectObject.Identity
| Improve this Doc View Source

Port

The port number

Declaration
public int Port { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ProcessName

Declaration
public string ProcessName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Type

TCP or UDP

Declaration
public TRANSPORT Type { get; set; }
Property Value
Type Description
TRANSPORT
  • Improve this Doc
  • View Source
Back to top Generated by DocFX