C# 클래스 SIPSorcery.Net.STUNv2XORAddressAttribute

This attribue is the same as the mapped address attribute except the address details are XOR'ed with the STUN magic cookie. THe reason for this is to stop NAT application layer gateways from doing string replacements of private IP adresses and ports.
상속: STUNv2Attribute
파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Address System.Net.IPAddress
Family int
Port int

공개 메소드들

메소드 설명
STUNv2XORAddressAttribute ( STUNv2AttributeTypesEnum attributeType, byte attributeValue ) : System
STUNv2XORAddressAttribute ( STUNv2AttributeTypesEnum attributeType, int port, IPAddress address ) : System
ToByteBuffer ( byte buffer, int startIndex ) : int
ToString ( ) : string

메소드 상세

STUNv2XORAddressAttribute() 공개 메소드

public STUNv2XORAddressAttribute ( STUNv2AttributeTypesEnum attributeType, byte attributeValue ) : System
attributeType STUNv2AttributeTypesEnum
attributeValue byte
리턴 System

STUNv2XORAddressAttribute() 공개 메소드

public STUNv2XORAddressAttribute ( STUNv2AttributeTypesEnum attributeType, int port, IPAddress address ) : System
attributeType STUNv2AttributeTypesEnum
port int
address System.Net.IPAddress
리턴 System

ToByteBuffer() 공개 메소드

public ToByteBuffer ( byte buffer, int startIndex ) : int
buffer byte
startIndex int
리턴 int

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Address 공개적으로 프로퍼티

public IPAddress,System.Net Address
리턴 System.Net.IPAddress

Family 공개적으로 프로퍼티

public int Family
리턴 int

Port 공개적으로 프로퍼티

public int Port
리턴 int