using System.Text;
namespace Steam;
///
/// Provides information about the machine that the application is running on.
/// For Steam Guard purposes, these values must return consistent results when run
/// on the same machine / in the same container / etc., otherwise it will be treated
/// as a separate machine and you may need to reauthenticate.
///
public class IMachineInfoProvider : SteamKit2.IMachineInfoProvider
{
///
/// Provides a unique machine ID as binary data.
///
/// The unique machine ID, or null if no such value could be found.
public byte[]? GetMachineGuid() => Encoding.UTF8.GetBytes("Nestri-Machine");
///
/// Provides the primary MAC address as binary data.
///
/// The primary MAC address, or null if no such value could be found.
public byte[]? GetMacAddress() => Encoding.UTF8.GetBytes("Nestri-MacAddress");
///
/// Provides the boot disk's unique ID as binary data.
///
/// The boot disk's unique ID, or null if no such value could be found.
public byte[]? GetDiskId() => Encoding.UTF8.GetBytes("Nestri-DiskId");
}