Show / Hide Table of Contents

Class STUNAddressAttributeBase

Inheritance
System.Object
STUNAttribute
STUNAddressAttributeBase
STUNAddressAttribute
STUNXORAddressAttribute
Inherited Members
STUNAttribute.STUNATTRIBUTE_HEADER_LENGTH
STUNAttribute.AttributeType
STUNAttribute.Value
STUNAttribute.ParseMessageAttributes(Byte[], Int32, Int32)
STUNAttribute.ParseMessageAttributes(Byte[], Int32, Int32, STUNHeader)
STUNAttribute.ToByteBuffer(Byte[], Int32)
STUNAttribute.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public abstract class STUNAddressAttributeBase : STUNAttribute

Constructors

| Improve this Doc View Source

STUNAddressAttributeBase(STUNAttributeTypesEnum, Byte[])

Declaration
public STUNAddressAttributeBase(STUNAttributeTypesEnum attributeType, byte[] value)
Parameters
Type Name Description
STUNAttributeTypesEnum attributeType
System.Byte[] value

Fields

| Improve this Doc View Source

Address

Declaration
public IPAddress Address
Field Value
Type Description
System.Net.IPAddress
| Improve this Doc View Source

ADDRESS_ATTRIBUTE_IPV4_LENGTH

Declaration
public const ushort ADDRESS_ATTRIBUTE_IPV4_LENGTH = 8
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

ADDRESS_ATTRIBUTE_IPV6_LENGTH

Declaration
public const ushort ADDRESS_ATTRIBUTE_IPV6_LENGTH = 20
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

ADDRESS_ATTRIBUTE_LENGTH

Obsolete.
Please use ADDRESS_ATTRIBUTE_IPV4_LENGTH or ADDRESS_ATTRIBUTE_IPV6_LENGTH instead.

Declaration
[Obsolete("Default attribute length for IPv4 only.")]
public const ushort ADDRESS_ATTRIBUTE_LENGTH = 8
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

AddressAttributeLength

Declaration
protected ushort AddressAttributeLength
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

Family

Defaults to IPv4 (0x01 // 1)

Declaration
public int Family
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Port

Declaration
public int Port
Field Value
Type Description
System.Int32
| Improve this Doc View Source

TransactionId

Declaration
protected byte[] TransactionId
Field Value
Type Description
System.Byte[]

Properties

| Improve this Doc View Source

PaddedLength

Declaration
public override ushort PaddedLength { get; }
Property Value
Type Description
System.UInt16
Overrides
STUNAttribute.PaddedLength

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX