C# Класс NetworkPackets.StunPacket.AttributeAddress

An attribute class for those that involve network addresses.
Наследование: System.Attribute
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Family FamilyType
IP System.Net.IPAddress
Port ushort

Открытые методы

Метод Описание
AttributeAddress ( AttributeType type, IPAddress ip, ushort port ) : Brunet.Util

Create an AttributeAddress.

AttributeAddress ( AttributeType type, MemBlock data ) : Brunet.Util

Parse an AttributeAddress.

CreateAddressData ( IPAddress ip, ushort port ) : MemBlock

Описание методов

AttributeAddress() публичный Метод

Create an AttributeAddress.
public AttributeAddress ( AttributeType type, IPAddress ip, ushort port ) : Brunet.Util
type AttributeType
ip System.Net.IPAddress
port ushort
Результат Brunet.Util

AttributeAddress() публичный Метод

Parse an AttributeAddress.
public AttributeAddress ( AttributeType type, MemBlock data ) : Brunet.Util
type AttributeType
data Brunet.Util.MemBlock
Результат Brunet.Util

CreateAddressData() публичный статический Метод

public static CreateAddressData ( IPAddress ip, ushort port ) : MemBlock
ip System.Net.IPAddress
port ushort
Результат Brunet.Util.MemBlock

Описание свойств

Family публичное свойство

The address family type.
public FamilyType Family
Результат FamilyType

IP публичное свойство

The address associated with the AttributeAddress.
public IPAddress,System.Net IP
Результат System.Net.IPAddress

Port публичное свойство

The port associated with the AttributeAddress.
public ushort Port
Результат ushort