Inheritance
System.Object
STUNHeader
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)
System.Object.ToString()
Assembly: SIPSorcery.dll
Constructors
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public STUNHeader(STUNMessageTypesEnum messageType)
Parameters
Fields
|
Improve this Doc
View Source
Declaration
public const uint MAGIC_COOKIE = 554869826U
Field Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Declaration
public ushort MessageLength
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Declaration
public STUNMessageTypesEnum MessageType
Field Value
|
Improve this Doc
View Source
Declaration
public const int STUN_HEADER_LENGTH = 20
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public const byte STUN_INITIAL_BYTE_MASK = 192
Field Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Declaration
public const ushort STUN_MESSAGE_CLASS_MASK = 272
Field Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Declaration
public const int TRANSACTION_ID_LENGTH = 12
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Declaration
public byte[] TransactionId
Field Value
Type |
Description |
System.Byte[] |
|
Properties
|
Improve this Doc
View Source
Declaration
public STUNClassTypesEnum MessageClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public static STUNHeader ParseSTUNHeader(ArraySegment<byte> bufferSegment)
Parameters
Type |
Name |
Description |
System.ArraySegment<System.Byte> |
bufferSegment |
|
Returns
|
Improve this Doc
View Source
Declaration
public static STUNHeader ParseSTUNHeader(byte[] buffer)
Parameters
Type |
Name |
Description |
System.Byte[] |
buffer |
|
Returns
Extension Methods