C# Class OpenCymd.Nps.Plugin.RadiusAttribute

Attribute in a RADIUS message.
显示文件 Open project: ibauersachs/OpenCymd.Nps

Public Methods

Method Description
RadiusAttribute ( RadiusAttributeType attribute, object value ) : System

Initializes a new instance of the RadiusAttribute class.

RadiusAttribute ( int attributeId, object value ) : System

Initializes a new instance of the RadiusAttribute class.

Private Methods

Method Description
FreeNativeAttribute ( ) : void

Releases the memory allocated during a call to GetNativeAttribute

GetAttributeValue ( ) : object
GetNativeAttribute ( ) : RADIUS_ATTRIBUTE

Gets the native representation of this attribute. The caller is responsible to free the memory allocated in this method with a call to FreeNativeAttribute.

RadiusAttribute ( IntPtr radiusAttributePtr ) : System

Initializes a new instance of the RadiusAttribute class.

SetAttributeValue ( ) : void

Method Details

RadiusAttribute() public method

Initializes a new instance of the RadiusAttribute class.
public RadiusAttribute ( RadiusAttributeType attribute, object value ) : System
attribute RadiusAttributeType ID of the attribute according to RFC2865.
value object The value of the attribute.
return System

RadiusAttribute() public method

Initializes a new instance of the RadiusAttribute class.
public RadiusAttribute ( int attributeId, object value ) : System
attributeId int ID of the attribute according to RFC2865.
value object The value of the attribute.
return System