Click or drag to resize

FingerprintAttribute Class

The FINGERPRINT attribute MAY be present in all STUN messages. The value of the attribute is computed as the CRC-32 of the STUN message up to (but excluding) the FINGERPRINT attribute itself, XOR'ed with the 32-bit value 0x5354554e (the XOR helps in cases where an application packet is also using CRC-32 in it). The 32-bit CRC is the one defined in ITU V.42 [ITU.V42.2002], which has a generator polynomial of x32+x26+x23+x22+x16+x12+x11+x10+x8+x7+x5+x4+x2+x+1. When present, the FINGERPRINT attribute MUST be the last attribute in the message, and thus will appear after MESSAGE-INTEGRITY.
Inheritance Hierarchy

Namespace:  FM.IceLink.Stun
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 1.1.2.607 (1.1.2.607)

The FingerprintAttribute type exposes the following members.

Constructors
  NameDescription
Public methodFingerprintAttribute
Initializes a new instance of the FingerprintAttribute class.
Top
Properties
  NameDescription
Public propertyMessageBuffer
Gets or sets the message buffer.
Public propertyTypeValue
Gets the type value.
(Overrides AttributeTypeValue.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLength
Gets the length of the attribute, including header and padding.
(Inherited from Attribute.)
Public methodGetPaddingLength
Gets the length of the padding.
(Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Protected methodGetValueLength
Gets the length of the attribute value.
(Overrides AttributeGetValueLength.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberReadValueFrom
Initializes a new instance of the FingerprintAttribute class.
Public methodToString
Returns a string that represents this instance.
(Overrides ObjectToString.)
Protected methodWriteIPAddress
Writes an IP address.
(Inherited from Attribute.)
Protected methodWritePort
Writes a port.
(Inherited from Attribute.)
Public methodWriteTo(DataBuffer, Int32)
Writes the attribute to a data buffer.
(Inherited from Attribute.)
Public methodWriteTo(DataBuffer, Int32, Int32)
Writes the attribute to a data buffer.
(Inherited from Attribute.)
Protected methodWriteValueTo
Writes the attribute value to a data buffer.
(Overrides AttributeWriteValueTo(DataBuffer, Int32).)
Protected methodWriteXorIPAddress
Writes an XOR'd IP address.
(Inherited from Attribute.)
Protected methodWriteXorPort
Writes an XOR'd port.
(Inherited from Attribute.)
Top
Version Information

IceLink Xamarin

Supported in: 3.0.3.48
See Also