Gemstone Communication Library
Show/Hide TOC

# RadiusPacket Class

Represents a data packet transferred between RADIUS client and server.

## Definition

Namespace: Gemstone.Communication.Radius
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.171 -- Release Build+de75bbbf89624d605ddc24c3126732cda9754379
C#
View Source Request Example

    public class RadiusPacket : ISupportBinaryImage

VB
View Source Request Example

    Public Class RadiusPacket
    	Implements ISupportBinaryImage

C++
View Source Request Example

    public ref class RadiusPacket : ISupportBinaryImage

JavaScript
View Source Request Example

    Gemstone.Communication.Radius.RadiusPacket = function();

    Type.createClass(
    	'Gemstone.Communication.Radius.RadiusPacket',
    	null,
    	ISupportBinaryImage);

Inheritance
  Object RadiusPacket

Implements
  ISupportBinaryImage

## Constructors

RadiusPacket | Initializes a new instance of the RadiusPacket class.
RadiusPacket(PacketType) | Initializes a new instance of the RadiusPacket class.
RadiusPacket(Byte, Int32, Int32) | Initializes a new instance of the RadiusPacket class.

## Properties

Attributes | Gets a list of RadiusPacketAttributes.
Authenticator | Gets or sets the RadiusPacket authenticator.
BinaryLength | Gets the length of the RadiusPacket.
Identifier | Gets or sets the RadiusPacket identifier.
Type | Gets or sets the type of the RadiusPacket.

## Methods

CreateRequestAuthenticator | Generates an "Authenticator" value used in a RADIUS request packet sent by the client to server.
CreateResponseAuthenticator | Generates an "Authenticator" value used in a RADIUS response packet sent by the server to client.
EncryptPassword | Generates an encrypted password using the RADIUS protocol specification (RFC 2285).
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
GenerateBinaryImage | Generates a binary representation of this RadiusPacket object and copies it into the given buffer.
GetAttributeValue | Gets the value of the specified attributeType if it is present in the RadiusPacket.
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ParseBinaryImage | Parses RadiusPacket object by parsing the specified buffer containing a binary image.
ToString | Returns a string that represents the current object. (Inherited from Object)

## Fields

Encoding | Encoding format for encoding text.
EndianOrder | EndianOrder to use for byte conversion.

## See Also

#### Reference

Gemstone.Communication.Radius Namespace
RadiusPacketAttribute
RadiusClient