C# Class SIPSorcery.Net.STUNv2AddressAttribute

Inheritance: STUNv2Attribute
Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
Address System.Net.IPAddress
Family int
Port int

Public Methods

Method Description
STUNv2AddressAttribute ( STUNv2AttributeTypesEnum attributeType, int port, IPAddress address ) : System
STUNv2AddressAttribute ( byte attributeValue ) : System
ToByteBuffer ( byte buffer, int startIndex ) : int
ToString ( ) : string

Method Details

STUNv2AddressAttribute() public method

public STUNv2AddressAttribute ( STUNv2AttributeTypesEnum attributeType, int port, IPAddress address ) : System
attributeType STUNv2AttributeTypesEnum
port int
address System.Net.IPAddress
return System

STUNv2AddressAttribute() public method

public STUNv2AddressAttribute ( byte attributeValue ) : System
attributeValue byte
return System

ToByteBuffer() public method

public ToByteBuffer ( byte buffer, int startIndex ) : int
buffer byte
startIndex int
return int

ToString() public method

public ToString ( ) : string
return string

Property Details

Address public property

public IPAddress,System.Net Address
return System.Net.IPAddress

Family public property

public int Family
return int

Port public property

public int Port
return int