Sylloge
A C# helper library
Public Member Functions | Properties
Sylloge.Net.UdpHeader Class Reference

A class that facilitates the information contained in an UDP packet header. More...

List of all members.

Public Member Functions

 UdpHeader (byte[] data, int length)
 Create an instance of the UDP header class with the specific data.

Properties

string Checksum [get]
 Gets the UDP header checksum.
string DestinationPort [get]
 Gets the destination port from the UDP header.
string Length [get]
 Gets the length of the data.
string SourcePort [get]
 Gets the source port from the UDP header.
byte[] UdpData [get]
 Gets the data of the UDP header.

Detailed Description

A class that facilitates the information contained in an UDP packet header.

Definition at line 363 of file Net.cs.


Constructor & Destructor Documentation

Sylloge.Net.UdpHeader.UdpHeader ( byte[]  data,
int  length 
)

Create an instance of the UDP header class with the specific data.

Parameters:
dataThe data to parse
lengthThe length of data to parse

Definition at line 386 of file Net.cs.


Property Documentation

string Sylloge.Net.UdpHeader.Checksum [get]

Gets the UDP header checksum.

Definition at line 407 of file Net.cs.

string Sylloge.Net.UdpHeader.DestinationPort [get]

Gets the destination port from the UDP header.

Definition at line 415 of file Net.cs.

string Sylloge.Net.UdpHeader.Length [get]

Gets the length of the data.

Definition at line 423 of file Net.cs.

string Sylloge.Net.UdpHeader.SourcePort [get]

Gets the source port from the UDP header.

Definition at line 431 of file Net.cs.

byte [] Sylloge.Net.UdpHeader.UdpData [get]

Gets the data of the UDP header.

Definition at line 439 of file Net.cs.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties Events