Kodi Documentation 18.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 (CNetworkWin10 *network, const PIP_ADAPTER_ADDRESSES adapter, ::IUnknown *winRTadapter)
 
 ~CNetworkInterfaceWin10 (void)
 
virtual const std::string & GetName (void) const
 
virtual bool IsEnabled (void) const
 
virtual bool IsConnected (void) const
 
virtual bool IsWireless (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
 
virtual std::string GetCurrentWirelessEssId (void) const
 
virtual void GetSettings (NetworkAssignment &assignment, std::string &ipAddress, std::string &networkMask, std::string &defaultGateway, std::string &essId, std::string &key, EncMode &encryptionMode) const
 
virtual void SetSettings (const NetworkAssignment &assignment, const std::string &ipAddress, const std::string &networkMask, const std::string &defaultGateway, const std::string &essId, const std::string &key, const EncMode &encryptionMode)
 
virtual std::vector< NetworkAccessPointGetAccessPoints (void) const
 
- Public Member Functions inherited from CNetworkInterface
virtual ~CNetworkInterface ()=default
 

Constructor & Destructor Documentation

◆ CNetworkInterfaceWin10()

CNetworkInterfaceWin10::CNetworkInterfaceWin10 ( CNetworkWin10 network,
const PIP_ADAPTER_ADDRESSES  adapter,
::IUnknown *  winRTadapter 
)

◆ ~CNetworkInterfaceWin10()

CNetworkInterfaceWin10::~CNetworkInterfaceWin10 ( void  )
default

Member Function Documentation

◆ GetAccessPoints()

std::vector< NetworkAccessPoint > CNetworkInterfaceWin10::GetAccessPoints ( void  ) const
virtual

Implements CNetworkInterface.

◆ 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.

◆ GetCurrentWirelessEssId()

std::string CNetworkInterfaceWin10::GetCurrentWirelessEssId ( 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.

◆ GetName()

const std::string & CNetworkInterfaceWin10::GetName ( void  ) const
virtual

Implements CNetworkInterface.

◆ GetSettings()

void CNetworkInterfaceWin10::GetSettings ( NetworkAssignment assignment,
std::string &  ipAddress,
std::string &  networkMask,
std::string &  defaultGateway,
std::string &  essId,
std::string &  key,
EncMode encryptionMode 
) const
virtual
Todo:
get WLAN props

Implements CNetworkInterface.

◆ IsConnected()

bool CNetworkInterfaceWin10::IsConnected ( void  ) const
virtual

Implements CNetworkInterface.

◆ IsEnabled()

bool CNetworkInterfaceWin10::IsEnabled ( void  ) const
virtual

Implements CNetworkInterface.

◆ IsWireless()

bool CNetworkInterfaceWin10::IsWireless ( void  ) const
virtual

Implements CNetworkInterface.

◆ SetSettings()

void CNetworkInterfaceWin10::SetSettings ( const NetworkAssignment assignment,
const std::string &  ipAddress,
const std::string &  networkMask,
const std::string &  defaultGateway,
const std::string &  essId,
const std::string &  key,
const EncMode encryptionMode 
)
virtual

Implements CNetworkInterface.


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