Class StunAttribute
A STUN attribute: its type and value.
Implements
Inherited Members
Namespace: Uniform.Stun.Protocol
Assembly: Uniform.Stun.Protocol.dll
Syntax
public sealed record StunAttribute : IEquatable<StunAttribute>
Constructors
| Edit this page View SourceStunAttribute(ushort, byte[])
A STUN attribute: its type and value.
Declaration
public StunAttribute(ushort Type, byte[] Value)
Parameters
| Type | Name | Description |
|---|---|---|
| ushort | Type | Attribute type; see StunAttributeTypes. |
| byte[] | Value | Value, without padding. |
Properties
| Edit this page View SourceType
Attribute type; see StunAttributeTypes.
Declaration
public ushort Type { get; init; }
Property Value
| Type | Description |
|---|---|
| ushort |
Value
Value, without padding.
Declaration
public byte[] Value { get; init; }
Property Value
| Type | Description |
|---|---|
| byte[] |