SharpPcap : SharpPcap Namespace

PosixTimeval Class

POSIX.4 timeval

Syntax

public class PosixTimeval : IComparable<PosixTimeval>

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Members

See Also: Inherited members from object.

Public Constructors

Construct a PosixTimeval using the current UTC time
Constructor with Seconds and MicroSeconds fields

Public Properties

[read-only]
Date DateTime . The timeval as a DateTime in Utc
MicroSeconds ulong . Documentation for this section has not yet been entered.
Seconds ulong . Documentation for this section has not yet been entered.

Public Methods

CompareTo (PosixTimeval) : int
Compare this to another
override
Equals (object) : bool
Equals override
override
GetHashCode () : int
GetHashCode override
override
ToString () : string
Convert the timeval to a string like 'SECONDS.MICROSECONDSs'

Public Operators

static
Equality (PosixTimeval, PosixTimeval) Operator ==
static
GreaterThan (PosixTimeval, PosixTimeval) Operator > overload
static
GreaterThanOrEqual (PosixTimeval, PosixTimeval) Operator >=
static
Inequality (PosixTimeval, PosixTimeval) Operator !=
static
LessThan (PosixTimeval, PosixTimeval) Operator < overload
static
LessThanOrEqual (PosixTimeval, PosixTimeval) Operator <=

Member Details

PosixTimeval Constructor

Construct a PosixTimeval using the current UTC time

Syntax

public PosixTimeval ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

PosixTimeval Constructor

Constructor with Seconds and MicroSeconds fields

Syntax

public PosixTimeval (ulong Seconds, ulong MicroSeconds)

Parameters

Seconds
A ulong
MicroSeconds
A ulong

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

CompareTo Method

Compare this to another

Syntax

public int CompareTo (PosixTimeval that)

Parameters

that
A SharpPcap.PosixTimeval

Returns

A int

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Date Property

The timeval as a DateTime in Utc

Syntax

public virtual DateTime Date { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Equals Method

Equals override

Syntax

public override bool Equals (object obj)

Parameters

obj
A object

Returns

A bool

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

GetHashCode Method

GetHashCode override

Syntax

public override int GetHashCode ()

Returns

A int

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

MicroSeconds Property

Documentation for this section has not yet been entered.

Syntax

public virtual ulong MicroSeconds { get; set; }

Value

Number of microseconds in the timeval

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

op_Equality Method

Operator ==

Syntax

public static bool operator== (PosixTimeval a, PosixTimeval b)

Parameters

a
A SharpPcap.PosixTimeval
b
A SharpPcap.PosixTimeval

Returns

A bool

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

op_GreaterThan Method

Operator > overload

Syntax

public static bool operator> (PosixTimeval a, PosixTimeval b)

Parameters

a
A SharpPcap.PosixTimeval
b
A SharpPcap.PosixTimeval

Returns

A bool

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

op_GreaterThanOrEqual Method

Operator >=

Syntax

public static bool operator>= (PosixTimeval a, PosixTimeval b)

Parameters

a
A SharpPcap.PosixTimeval
b
A SharpPcap.PosixTimeval

Returns

A bool

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

op_Inequality Method

Operator !=

Syntax

public static bool operator!= (PosixTimeval a, PosixTimeval b)

Parameters

a
A SharpPcap.PosixTimeval
b
A SharpPcap.PosixTimeval

Returns

A bool

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

op_LessThan Method

Operator < overload

Syntax

public static bool operator< (PosixTimeval a, PosixTimeval b)

Parameters

a
A SharpPcap.PosixTimeval
b
A SharpPcap.PosixTimeval

Returns

A bool

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

op_LessThanOrEqual Method

Operator <=

Syntax

public static bool operator<= (PosixTimeval a, PosixTimeval b)

Parameters

a
A SharpPcap.PosixTimeval
b
A SharpPcap.PosixTimeval

Returns

A bool

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

Seconds Property

Documentation for this section has not yet been entered.

Syntax

public virtual ulong Seconds { get; set; }

Value

Number of seconds in the timeval

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0

ToString Method

Convert the timeval to a string like 'SECONDS.MICROSECONDSs'

Syntax

public override string ToString ()

Returns

A string

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: SharpPcap
Assembly: SharpPcap (in SharpPcap.dll)
Assembly Versions: 4.0.1.0