IPWorks Auth 2020 .NET Edition

Questions / Feedback?

Attribute Event

Fires for each attribute that is received.

Syntax

public event OnAttributeHandler OnAttribute;

public delegate void OnAttributeHandler(object sender, RadiusAttributeEventArgs e);

public class RadiusAttributeEventArgs : EventArgs {
  public int AttributeType { get; }
  public string Name { get; }
  public string Value { get; }
public byte[] ValueB { get; } }
Public Event OnAttribute As OnAttributeHandler

Public Delegate Sub OnAttributeHandler(sender As Object, e As RadiusAttributeEventArgs)

Public Class RadiusAttributeEventArgs Inherits EventArgs
  Public ReadOnly Property AttributeType As Integer
  Public ReadOnly Property Name As String
  Public ReadOnly Property Value As String
Public ReadOnly Property ValueB As Byte() End Class

Remarks

This event fires once for each attribute that is received. This will fire when calling Authenticate.

AttributeType is the attribute type. Common values are:

AttributeTypeMeaning
1User-Name
2User-Password
3CHAP-Password
4NAS-IP-Address
5NAS-Port
6Service-Type
7Framed-Protocol
8Framed-IP-Address
9Framed-IP-Netmask
10Framed-Routing
11Filter-Id
12Framed-MTU
13Framed-Compression
14Login-IP-Host
15Login-Service
16Login-TCP-Port
17(unassigned)
18Reply-Message
19Callback-Number
20Callback-Id
21(unassigned)
22Framed-Route
23Framed-IPX-Network
24State
25Class
26Vendor-Specific
27Session-Timeout
28Idle-Timeout
29Termination-Action
30Called-Station-Id
31Calling-Station-Id
32NAS-Identifier
33Proxy-State
34Login-LAT-Service
35Login-LAT-Node
36Login-LAT-Group
37Framed-AppleTalk-Link
38Framed-AppleTalk-Network
39Framed-AppleTalk-Zone
40-59 Reserved for accounting
60CHAP-Challenge
61NAS-Port-Type
62Port-Limit
63Login-LAT-Port

Name is the text description of the attribute.

Value is the value of the attribute.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 .NET Edition - Version 20.0 [Build 8155]