Class NetworkStatistics
Definition
- Assembly:
- Tizen.Network.Stc.dll
A class for managing the Stc statistics information.
public class NetworkStatistics : IDisposable
- Inheritance
-
objectNetworkStatistics
- Implements
-
System.IDisposable
Properties
View SourceAppId
A property to get the application ID from NetworkStatistics.
Declaration
public string AppId { get; }
Property Value
Type | Description |
---|---|
string | Application ID. |
ApplicationState
A property to get the application state from NetworkStatistics.
Declaration
public ApplicationStateType ApplicationState { get; }
Property Value
Type | Description |
---|---|
ApplicationStateType | Monitored application state. |
From
A property to get "from" value(start) of time interval from NetworkStatistics.
Declaration
public DateTime From { get; }
Property Value
Type | Description |
---|---|
System.DateTime | from(start) of time interval. |
IncomingCounter
A property to get incoming counter from NetworkStatistics.
Declaration
public long IncomingCounter { get; }
Property Value
Type | Description |
---|---|
long | incoming counter. |
InterfaceName
A property to get interface name from NetworkStatistics.
Declaration
public string InterfaceName { get; }
Property Value
Type | Description |
---|---|
string | Interface name. |
InterfaceType
A property to get the interface type from NetworkStatistics.
Declaration
public NetworkInterface InterfaceType { get; }
Property Value
Type | Description |
---|---|
NetworkInterface | Interface type. |
IsRoaming
A property to get the roaming type from NetworkStatistics.
Declaration
public bool IsRoaming { get; }
Property Value
Type | Description |
---|---|
bool | IsRoaming. |
OutgoingCounter
A property to get outgoing counter from NetworkStatistics.
Declaration
public long OutgoingCounter { get; }
Property Value
Type | Description |
---|---|
long | outgoing counter. |
Protocol
A property to get the network protocol type from NetworkStatistics.
Declaration
public NetworkProtocol Protocol { get; }
Property Value
Type | Description |
---|---|
NetworkProtocol | Network Protocol type. |
To
A property to get "to" value(end) of time interval from NetworkStatistics.
Declaration
public DateTime To { get; }
Property Value
Type | Description |
---|---|
System.DateTime | to(end) of time interval. |
Methods
View SourceDispose()
A method to destroy the managed NetworkStatistics objects.
Declaration
public void Dispose()
Dispose(bool)
Releases the resources used by the NetworkStatistics.
Declaration
protected void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | True to release both managed and unmanaged resources; false to release only unmanaged resources. |
~NetworkStatistics()
Destroy the NetworkStatistics object
Declaration
protected ~NetworkStatistics()