C# Класс SIPSorcery.Net.STUNChangeRequestAttribute

0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 A B 0| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ The meaning of the flags is: A: This is the "change IP" flag. If true, it requests the server to send the Binding Response with a different IP address than the one the Binding Request was received on. B: This is the "change port" flag. If true, it requests the server to send the Binding Response with a different port than the one the Binding Request was received on.
Наследование: STUNAttribute
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
ChangeAddress bool
ChangePort bool

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

Метод Описание
STUNChangeRequestAttribute ( byte attributeValue ) : NUnit.Framework
ToString ( ) : string

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

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

public STUNChangeRequestAttribute ( byte attributeValue ) : NUnit.Framework
attributeValue byte
Результат NUnit.Framework

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

public ToString ( ) : string
Результат string

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

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

public bool ChangeAddress
Результат bool

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

public bool ChangePort
Результат bool