internal static string ReadMAC(Context context) { byte[] content = File.ReadAllBytes(LocalMACFile); if (!Device.CheckFile(content)) { nMAC.Utils.General.ShowCriticalError(context, UnsupportedDeviceMessage); return(null); } return(Device.ExtractMACFromFile(content).ToUpper()); }