diff options
Diffstat (limited to 'Kernel/NetworkKit/MAC.hxx')
| -rw-r--r-- | Kernel/NetworkKit/MAC.hxx | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Kernel/NetworkKit/MAC.hxx b/Kernel/NetworkKit/MAC.hxx new file mode 100644 index 00000000..30a865ac --- /dev/null +++ b/Kernel/NetworkKit/MAC.hxx @@ -0,0 +1,29 @@ +/* ------------------------------------------- + + Copyright SoftwareLabs + +------------------------------------------- */ + +#pragma once + +#include <NewKit/Array.hpp> +#include <NewKit/Defines.hpp> +#include <NewKit/String.hpp> + +namespace NewOS +{ + class MacAddressGetter; + + /// \brief This retrieves the MAC address of the device. + /// \note Listens for the current NIC. + class MacAddressGetter final + { + public: + explicit MacAddressGetter() = default; + + public: + StringView& AsString(); + Array<WideChar, 12>& AsBytes(); + }; + +} // namespace NewOS |
