2017-05-19 20:28:49 +01:00
|
|
|
// /***************************************************************************
|
2020-02-27 12:31:25 +00:00
|
|
|
// Aaru Data Preservation Suite
|
2016-09-07 22:32:44 +01:00
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Filename : MacBinary.cs
|
|
|
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
|
|
|
//
|
2017-12-19 03:50:57 +00:00
|
|
|
// Component : Filters.
|
2016-09-07 22:32:44 +01:00
|
|
|
//
|
|
|
|
|
// --[ Description ] ----------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// Provides a filter to open MacBinary files.
|
|
|
|
|
//
|
|
|
|
|
// --[ License ] --------------------------------------------------------------
|
|
|
|
|
//
|
|
|
|
|
// This library is free software; you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU Lesser General Public License as
|
|
|
|
|
// published by the Free Software Foundation; either version 2.1 of the
|
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
|
//
|
|
|
|
|
// This library is distributed in the hope that it will be useful, but
|
|
|
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
|
//
|
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
|
// License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
//
|
|
|
|
|
// ----------------------------------------------------------------------------
|
2020-01-03 17:51:30 +00:00
|
|
|
// Copyright © 2011-2020 Natalia Portillo
|
2016-09-07 22:32:44 +01:00
|
|
|
// ****************************************************************************/
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Runtime.InteropServices;
|
2017-06-06 21:23:20 +01:00
|
|
|
using System.Text;
|
2020-02-27 00:33:26 +00:00
|
|
|
using Aaru.CommonTypes.Interfaces;
|
2020-07-20 15:43:52 +01:00
|
|
|
using Aaru.Helpers;
|
2020-02-27 00:33:26 +00:00
|
|
|
using Marshal = Aaru.Helpers.Marshal;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2020-02-27 00:33:26 +00:00
|
|
|
namespace Aaru.Filters
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
|
|
|
|
// TODO: Interpret fdScript
|
2020-02-29 18:03:35 +00:00
|
|
|
/// <summary>Decodes MacBinary files</summary>
|
2017-12-26 06:05:12 +00:00
|
|
|
public class MacBinary : IFilter
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
2017-12-22 16:17:40 +00:00
|
|
|
const uint MACBINARY_MAGIC = 0x6D42494E;
|
2018-06-22 08:08:38 +01:00
|
|
|
string basePath;
|
|
|
|
|
byte[] bytes;
|
|
|
|
|
DateTime creationTime;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
long dataForkOff;
|
|
|
|
|
string filename;
|
2017-12-24 02:43:49 +00:00
|
|
|
MacBinaryHeader header;
|
2018-06-22 08:08:38 +01:00
|
|
|
bool isBytes, isStream, isPath, opened;
|
|
|
|
|
DateTime lastWriteTime;
|
|
|
|
|
long rsrcForkOff;
|
|
|
|
|
Stream stream;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public string Name => "MacBinary";
|
|
|
|
|
public Guid Id => new Guid("D7C321D3-E51F-45DF-A150-F6BFDF0D7704");
|
|
|
|
|
public string Author => "Natalia Portillo";
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
public void Close()
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
|
|
|
|
bytes = null;
|
2017-12-22 16:17:40 +00:00
|
|
|
stream?.Close();
|
2018-06-22 08:08:38 +01:00
|
|
|
isBytes = false;
|
2016-09-07 22:32:44 +01:00
|
|
|
isStream = false;
|
2018-06-22 08:08:38 +01:00
|
|
|
isPath = false;
|
|
|
|
|
opened = false;
|
2016-09-07 22:32:44 +01:00
|
|
|
}
|
|
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public string GetBasePath() => basePath;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public DateTime GetCreationTime() => creationTime;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public long GetDataForkLength() => header.dataLength;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
public Stream GetDataForkStream()
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
if(header.dataLength == 0)
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|
if(isBytes)
|
|
|
|
|
return new OffsetStream(bytes, dataForkOff, (dataForkOff + header.dataLength) - 1);
|
|
|
|
|
|
|
|
|
|
if(isStream)
|
|
|
|
|
return new OffsetStream(stream, dataForkOff, (dataForkOff + header.dataLength) - 1);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
if(isPath)
|
2017-12-19 20:33:03 +00:00
|
|
|
return new OffsetStream(basePath, FileMode.Open, FileAccess.Read, dataForkOff,
|
2020-02-29 18:03:35 +00:00
|
|
|
(dataForkOff + header.dataLength) - 1);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public string GetFilename() => filename;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public DateTime GetLastWriteTime() => lastWriteTime;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public long GetLength() => header.dataLength + header.resourceLength;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public string GetParentFolder() => Path.GetDirectoryName(basePath);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public string GetPath() => basePath;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public long GetResourceForkLength() => header.resourceLength;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
public Stream GetResourceForkStream()
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
if(header.resourceLength == 0)
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|
if(isBytes)
|
|
|
|
|
return new OffsetStream(bytes, rsrcForkOff, (rsrcForkOff + header.resourceLength) - 1);
|
|
|
|
|
|
|
|
|
|
if(isStream)
|
|
|
|
|
return new OffsetStream(stream, rsrcForkOff, (rsrcForkOff + header.resourceLength) - 1);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
if(isPath)
|
2017-12-19 20:33:03 +00:00
|
|
|
return new OffsetStream(basePath, FileMode.Open, FileAccess.Read, rsrcForkOff,
|
2020-02-29 18:03:35 +00:00
|
|
|
(rsrcForkOff + header.resourceLength) - 1);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public bool HasResourceFork() => header.resourceLength > 0;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
public bool Identify(byte[] buffer)
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
if(buffer == null ||
|
|
|
|
|
buffer.Length < 128)
|
|
|
|
|
return false;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
byte[] hdr_b = new byte[128];
|
|
|
|
|
Array.Copy(buffer, 0, hdr_b, 0, 128);
|
2019-02-27 08:49:42 +00:00
|
|
|
header = Marshal.ByteArrayToStructureBigEndian<MacBinaryHeader>(hdr_b);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2020-02-29 18:03:35 +00:00
|
|
|
return header.magic == MACBINARY_MAGIC || (header.version == 0 && header.filename[0] > 0 &&
|
|
|
|
|
header.filename[0] < 64 && header.zero1 == 0 &&
|
|
|
|
|
header.zero2 == 0 && header.reserved == 0 &&
|
|
|
|
|
(header.dataLength > 0 || header.resourceLength > 0));
|
2016-09-07 22:32:44 +01:00
|
|
|
}
|
|
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
public bool Identify(Stream stream)
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
if(stream == null ||
|
|
|
|
|
stream.Length < 128)
|
|
|
|
|
return false;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
byte[] hdr_b = new byte[128];
|
|
|
|
|
stream.Seek(0, SeekOrigin.Begin);
|
|
|
|
|
stream.Read(hdr_b, 0, 128);
|
2019-02-27 08:49:42 +00:00
|
|
|
header = Marshal.ByteArrayToStructureBigEndian<MacBinaryHeader>(hdr_b);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2020-02-29 18:03:35 +00:00
|
|
|
return header.magic == MACBINARY_MAGIC || (header.version == 0 && header.filename[0] > 0 &&
|
|
|
|
|
header.filename[0] < 64 && header.zero1 == 0 &&
|
|
|
|
|
header.zero2 == 0 && header.reserved == 0 &&
|
|
|
|
|
(header.dataLength > 0 || header.resourceLength > 0));
|
2016-09-07 22:32:44 +01:00
|
|
|
}
|
|
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
public bool Identify(string path)
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
var fstream = new FileStream(path, FileMode.Open, FileAccess.Read);
|
|
|
|
|
|
|
|
|
|
if(fstream.Length < 128)
|
|
|
|
|
return false;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
byte[] hdr_b = new byte[128];
|
|
|
|
|
fstream.Read(hdr_b, 0, 128);
|
2019-02-27 08:49:42 +00:00
|
|
|
header = Marshal.ByteArrayToStructureBigEndian<MacBinaryHeader>(hdr_b);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
fstream.Close();
|
2020-02-29 18:03:35 +00:00
|
|
|
|
|
|
|
|
return header.magic == MACBINARY_MAGIC || (header.version == 0 && header.filename[0] > 0 &&
|
|
|
|
|
header.filename[0] < 64 && header.zero1 == 0 &&
|
|
|
|
|
header.zero2 == 0 && header.reserved == 0 &&
|
|
|
|
|
(header.dataLength > 0 || header.resourceLength > 0));
|
2016-09-07 22:32:44 +01:00
|
|
|
}
|
|
|
|
|
|
2018-08-29 22:15:43 +01:00
|
|
|
public bool IsOpened() => opened;
|
2016-09-07 22:32:44 +01:00
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
public void Open(byte[] buffer)
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
var ms = new MemoryStream(buffer);
|
2016-09-07 22:32:44 +01:00
|
|
|
ms.Seek(0, SeekOrigin.Begin);
|
|
|
|
|
|
|
|
|
|
byte[] hdr_b = new byte[128];
|
|
|
|
|
ms.Read(hdr_b, 0, 128);
|
2019-02-27 08:49:42 +00:00
|
|
|
header = Marshal.ByteArrayToStructureBigEndian<MacBinaryHeader>(hdr_b);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
uint blocks = 1;
|
|
|
|
|
blocks += (uint)(header.secondaryHeaderLength / 128);
|
2020-02-29 18:03:35 +00:00
|
|
|
|
|
|
|
|
if(header.secondaryHeaderLength % 128 > 0)
|
|
|
|
|
blocks++;
|
|
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
dataForkOff = blocks * 128;
|
|
|
|
|
blocks += header.dataLength / 128;
|
2020-02-29 18:03:35 +00:00
|
|
|
|
|
|
|
|
if(header.dataLength % 128 > 0)
|
|
|
|
|
blocks++;
|
|
|
|
|
|
|
|
|
|
rsrcForkOff = blocks * 128;
|
2018-06-22 08:08:38 +01:00
|
|
|
|
|
|
|
|
filename = StringHandlers.PascalToString(header.filename, Encoding.GetEncoding("macintosh"));
|
|
|
|
|
creationTime = DateHandlers.MacToDateTime(header.creationTime);
|
2016-09-07 22:32:44 +01:00
|
|
|
lastWriteTime = DateHandlers.MacToDateTime(header.modificationTime);
|
|
|
|
|
|
|
|
|
|
ms.Close();
|
2018-06-22 08:08:38 +01:00
|
|
|
opened = true;
|
2016-09-07 22:32:44 +01:00
|
|
|
isBytes = true;
|
2018-06-22 08:08:38 +01:00
|
|
|
bytes = buffer;
|
2016-09-07 22:32:44 +01:00
|
|
|
}
|
|
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
public void Open(Stream stream)
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
|
|
|
|
stream.Seek(0, SeekOrigin.Begin);
|
|
|
|
|
|
|
|
|
|
byte[] hdr_b = new byte[128];
|
|
|
|
|
stream.Read(hdr_b, 0, 128);
|
2019-02-27 08:49:42 +00:00
|
|
|
header = Marshal.ByteArrayToStructureBigEndian<MacBinaryHeader>(hdr_b);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
uint blocks = 1;
|
|
|
|
|
blocks += (uint)(header.secondaryHeaderLength / 128);
|
2020-02-29 18:03:35 +00:00
|
|
|
|
|
|
|
|
if(header.secondaryHeaderLength % 128 > 0)
|
|
|
|
|
blocks++;
|
|
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
dataForkOff = blocks * 128;
|
|
|
|
|
blocks += header.dataLength / 128;
|
2020-02-29 18:03:35 +00:00
|
|
|
|
|
|
|
|
if(header.dataLength % 128 > 0)
|
|
|
|
|
blocks++;
|
|
|
|
|
|
|
|
|
|
rsrcForkOff = blocks * 128;
|
2018-06-22 08:08:38 +01:00
|
|
|
|
|
|
|
|
filename = StringHandlers.PascalToString(header.filename, Encoding.GetEncoding("macintosh"));
|
|
|
|
|
creationTime = DateHandlers.MacToDateTime(header.creationTime);
|
2016-09-07 22:32:44 +01:00
|
|
|
lastWriteTime = DateHandlers.MacToDateTime(header.modificationTime);
|
|
|
|
|
|
|
|
|
|
stream.Seek(0, SeekOrigin.Begin);
|
2018-06-22 08:08:38 +01:00
|
|
|
opened = true;
|
|
|
|
|
isStream = true;
|
2016-09-07 22:32:44 +01:00
|
|
|
this.stream = stream;
|
|
|
|
|
}
|
|
|
|
|
|
2017-12-26 07:28:40 +00:00
|
|
|
public void Open(string path)
|
2016-09-07 22:32:44 +01:00
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
var fs = new FileStream(path, FileMode.Open, FileAccess.Read);
|
2016-09-07 22:32:44 +01:00
|
|
|
fs.Seek(0, SeekOrigin.Begin);
|
|
|
|
|
|
|
|
|
|
byte[] hdr_b = new byte[128];
|
|
|
|
|
fs.Read(hdr_b, 0, 128);
|
2019-02-27 08:49:42 +00:00
|
|
|
header = Marshal.ByteArrayToStructureBigEndian<MacBinaryHeader>(hdr_b);
|
2016-09-07 22:32:44 +01:00
|
|
|
|
|
|
|
|
uint blocks = 1;
|
|
|
|
|
blocks += (uint)(header.secondaryHeaderLength / 128);
|
2020-02-29 18:03:35 +00:00
|
|
|
|
|
|
|
|
if(header.secondaryHeaderLength % 128 > 0)
|
|
|
|
|
blocks++;
|
|
|
|
|
|
2018-06-22 08:08:38 +01:00
|
|
|
dataForkOff = blocks * 128;
|
|
|
|
|
blocks += header.dataLength / 128;
|
2020-02-29 18:03:35 +00:00
|
|
|
|
|
|
|
|
if(header.dataLength % 128 > 0)
|
|
|
|
|
blocks++;
|
|
|
|
|
|
|
|
|
|
rsrcForkOff = blocks * 128;
|
2018-06-22 08:08:38 +01:00
|
|
|
|
|
|
|
|
filename = StringHandlers.PascalToString(header.filename, Encoding.GetEncoding("macintosh"));
|
|
|
|
|
creationTime = DateHandlers.MacToDateTime(header.creationTime);
|
2016-09-07 22:32:44 +01:00
|
|
|
lastWriteTime = DateHandlers.MacToDateTime(header.modificationTime);
|
|
|
|
|
|
|
|
|
|
fs.Close();
|
2018-06-22 08:08:38 +01:00
|
|
|
opened = true;
|
|
|
|
|
isPath = true;
|
2016-09-07 22:32:44 +01:00
|
|
|
basePath = path;
|
|
|
|
|
}
|
2017-12-24 02:43:49 +00:00
|
|
|
|
|
|
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
|
|
|
|
struct MacBinaryHeader
|
|
|
|
|
{
|
2020-02-29 18:03:35 +00:00
|
|
|
/// <summary>0x00, MacBinary version, 0</summary>
|
|
|
|
|
public readonly byte version;
|
|
|
|
|
/// <summary>0x01, Str63 Pascal filename</summary>
|
2018-06-22 08:08:38 +01:00
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 64)]
|
2020-02-29 18:03:35 +00:00
|
|
|
public readonly byte[] filename;
|
|
|
|
|
/// <summary>0x41, File type</summary>
|
|
|
|
|
public readonly uint type;
|
|
|
|
|
/// <summary>0x45, File creator</summary>
|
|
|
|
|
public readonly uint creator;
|
|
|
|
|
/// <summary>0x49, High byte of Finder flags</summary>
|
|
|
|
|
public readonly byte finderFlags;
|
|
|
|
|
/// <summary>0x4A, Must be 0</summary>
|
|
|
|
|
public readonly byte zero1;
|
|
|
|
|
/// <summary>0x4B, File's icon vertical position within its window</summary>
|
|
|
|
|
public readonly ushort verticalPosition;
|
|
|
|
|
/// <summary>0x4D, File's icon horizontal position within its window</summary>
|
|
|
|
|
public readonly ushort horizontalPosition;
|
|
|
|
|
/// <summary>0x4F, File's window or folder ID</summary>
|
|
|
|
|
public readonly short windowID;
|
|
|
|
|
/// <summary>0x51, Protected flag</summary>
|
|
|
|
|
public readonly byte protect;
|
|
|
|
|
/// <summary>0x52, Must be 0</summary>
|
|
|
|
|
public readonly byte zero2;
|
|
|
|
|
/// <summary>0x53, Size of data fork</summary>
|
|
|
|
|
public readonly uint dataLength;
|
|
|
|
|
/// <summary>0x57, Size of resource fork</summary>
|
|
|
|
|
public readonly uint resourceLength;
|
|
|
|
|
/// <summary>0x5B, File's creation time</summary>
|
|
|
|
|
public readonly uint creationTime;
|
|
|
|
|
/// <summary>0x5F, File's last modified time</summary>
|
|
|
|
|
public readonly uint modificationTime;
|
|
|
|
|
/// <summary>0x63, Length of Get Info comment</summary>
|
|
|
|
|
public readonly ushort commentLength;
|
|
|
|
|
/// <summary>0x65, Low byte of Finder flags</summary>
|
|
|
|
|
public readonly byte finderFlags2;
|
2017-12-24 02:43:49 +00:00
|
|
|
|
|
|
|
|
#region MacBinary III
|
2020-02-29 18:03:35 +00:00
|
|
|
/// <summary>0x66, magic identifier, "mBIN"</summary>
|
|
|
|
|
public readonly uint magic;
|
|
|
|
|
/// <summary>0x6A, fdScript from fxInfo, identifies codepage of filename</summary>
|
|
|
|
|
public readonly byte fdScript;
|
|
|
|
|
/// <summary>0x6B, fdXFlags from fxInfo, extended Mac OS 8 finder flags</summary>
|
|
|
|
|
public readonly byte fdXFlags;
|
2017-12-24 02:43:49 +00:00
|
|
|
#endregion MacBinary III
|
|
|
|
|
|
2020-02-29 18:03:35 +00:00
|
|
|
/// <summary>0x6C, unused</summary>
|
|
|
|
|
public readonly ulong reserved;
|
|
|
|
|
/// <summary>0x74, Total unpacked files</summary>
|
|
|
|
|
public readonly uint totalPackedFiles;
|
2017-12-24 02:43:49 +00:00
|
|
|
|
|
|
|
|
#region MacBinary II
|
2020-02-29 18:03:35 +00:00
|
|
|
/// <summary>0x78, Length of secondary header</summary>
|
|
|
|
|
public readonly ushort secondaryHeaderLength;
|
|
|
|
|
/// <summary>0x7A, version number of MacBinary that wrote this file, starts at 129</summary>
|
|
|
|
|
public readonly byte version2;
|
|
|
|
|
/// <summary>0x7B, version number of MacBinary required to open this file, starts at 129</summary>
|
|
|
|
|
public readonly byte minVersion;
|
|
|
|
|
/// <summary>0x7C, CRC of previous bytes</summary>
|
|
|
|
|
public readonly short crc;
|
2017-12-24 02:43:49 +00:00
|
|
|
#endregion MacBinary II
|
|
|
|
|
|
2020-02-29 18:03:35 +00:00
|
|
|
/// <summary>0x7E, Reserved for computer type and OS ID</summary>
|
|
|
|
|
public readonly short computerID;
|
2017-12-24 02:43:49 +00:00
|
|
|
}
|
2016-09-07 22:32:44 +01:00
|
|
|
}
|
2017-12-19 20:33:03 +00:00
|
|
|
}
|