Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
CNetworkInterfaceWin10 Class Reference

#include <NetworkWin10.h>

Inheritance diagram for CNetworkInterfaceWin10:
CNetworkInterface

Public Member Functions

 CNetworkInterfaceWin10 (const PIP_ADAPTER_ADDRESSES adapter)
 
 ~CNetworkInterfaceWin10 (void)
 
virtual bool IsEnabled (void) const
 
virtual bool IsConnected (void) const
 
virtual std::string GetMacAddress (void) const
 
virtual void GetMacAddressRaw (char rawMac[6]) const
 
virtual bool GetHostMacAddress (unsigned long host, std::string &mac) const
 
virtual std::string GetCurrentIPAddress () const
 
virtual std::string GetCurrentNetmask () const
 
virtual std::string GetCurrentDefaultGateway (void) const
 
- Public Member Functions inherited from CNetworkInterface
virtual ~CNetworkInterface ()=default
 

Constructor & Destructor Documentation

◆ CNetworkInterfaceWin10()

CNetworkInterfaceWin10::CNetworkInterfaceWin10 ( const PIP_ADAPTER_ADDRESSES  adapter)

◆ ~CNetworkInterfaceWin10()

CNetworkInterfaceWin10::~CNetworkInterfaceWin10 ( void  )
default

Member Function Documentation

◆ GetCurrentDefaultGateway()

std::string CNetworkInterfaceWin10::GetCurrentDefaultGateway ( void  ) const
virtual

Implements CNetworkInterface.

◆ GetCurrentIPAddress()

std::string CNetworkInterfaceWin10::GetCurrentIPAddress ( void  ) const
virtual

Implements CNetworkInterface.

◆ GetCurrentNetmask()

std::string CNetworkInterfaceWin10::GetCurrentNetmask ( void  ) const
virtual

Implements CNetworkInterface.

◆ GetHostMacAddress()

bool CNetworkInterfaceWin10::GetHostMacAddress ( unsigned long  host,
std::string &  mac 
) const
virtual
Todo:
implement raw ARP requests

Implements CNetworkInterface.

◆ GetMacAddress()

std::string CNetworkInterfaceWin10::GetMacAddress ( void  ) const
virtual

Implements CNetworkInterface.

◆ GetMacAddressRaw()

void CNetworkInterfaceWin10::GetMacAddressRaw ( char  rawMac[6]) const
virtual

Implements CNetworkInterface.

◆ IsConnected()

bool CNetworkInterfaceWin10::IsConnected ( void  ) const
virtual

Implements CNetworkInterface.

◆ IsEnabled()

bool CNetworkInterfaceWin10::IsEnabled ( void  ) const
virtual

Implements CNetworkInterface.


The documentation for this class was generated from the following files: