Class STUNAddressAttributeBase
Inheritance
System.Object
STUNAddressAttributeBase
Inherited Members
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 SourceSTUNAddressAttributeBase(STUNAttributeTypesEnum, Byte[])
Declaration
public STUNAddressAttributeBase(STUNAttributeTypesEnum attributeType, byte[] value)
Parameters
Type | Name | Description |
---|---|---|
STUNAttributeTypesEnum | attributeType | |
System.Byte[] | value |
Fields
| Improve this Doc View SourceAddress
Declaration
public IPAddress Address
Field Value
Type | Description |
---|---|
System.Net.IPAddress |
ADDRESS_ATTRIBUTE_IPV4_LENGTH
Declaration
public const ushort ADDRESS_ATTRIBUTE_IPV4_LENGTH = 8
Field Value
Type | Description |
---|---|
System.UInt16 |
ADDRESS_ATTRIBUTE_IPV6_LENGTH
Declaration
public const ushort ADDRESS_ATTRIBUTE_IPV6_LENGTH = 20
Field Value
Type | Description |
---|---|
System.UInt16 |
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 |
AddressAttributeLength
Declaration
protected ushort AddressAttributeLength
Field Value
Type | Description |
---|---|
System.UInt16 |
Family
Defaults to IPv4 (0x01 // 1)
Declaration
public int Family
Field Value
Type | Description |
---|---|
System.Int32 |
Port
Declaration
public int Port
Field Value
Type | Description |
---|---|
System.Int32 |
TransactionId
Declaration
protected byte[] TransactionId
Field Value
Type | Description |
---|---|
System.Byte[] |
Properties
| Improve this Doc View SourcePaddedLength
Declaration
public override ushort PaddedLength { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |