summaryrefslogtreecommitdiffhomepage
path: root/Kernel/NetworkKit/MAC.hxx
blob: cc76022af7f771441cea5105040c8e039d886f81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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