Walter.Net.HoneyPot
Item(TcpPortAlias) Property
Example 
Walter.Net.HoneyPot Assembly > Walter.Net.HoneyPot Namespace > IPortScannerDetectionService Interface > Item Property : Item(TcpPortAlias) Property
The alias.
Gets the Nullable with the specified alias.
Syntax

Parameters

alias
The alias.

Property Value

System.Nullable<IHoneyPotPortListner>.
Example
using var service = new ServiceCollection()
                    .UsePortScannerProtection(option =>{
    
                        option.Echo = target;
                        option.IgnoreAfterDetection = IgnoreScope.IPAddressAndPort;
                    }).BuildServiceProvider();
                    
var monitor = service.GetRequiredService<IPortScannerDetectionService>();
monitor[BOM.TcpPortAlias.Echo_7]!.OnDetecting+= OnPingDetected;
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IPortScannerDetectionService Interface
IPortScannerDetectionService Members
Overload List