Beispiel #1
0
 public SystemInformation(long fileId, long groupRoot, ILogger logger) : base(fileId, groupRoot, "system_information", logger)
 {
     Assemblies        = new AssemblyInformationRecord[0];
     SystemId          = "N/A";
     BoardIds          = new[] { "N/A", "N/A" };
     DataFormatVersion = "3.0"; //v3 - ecg format changes
     H5Version         = "4.1"; //v4 - ecg format changes, V4.1: add System type
     SoftwareVersion   = Assembly.GetExecutingAssembly().GetName().Version.ToString();
     MachineName       = Environment.MachineName;
     MacAddress        = GetMacAddress();
     IPAddress         = GetLocalIPAddress();
     SystemType        = string.Empty;
 }
 public bool Equals(AssemblyInformationRecord other) => FileName == other.FileName && FileVersion == other.FileVersion && ProductVersion == other.ProductVersion && DateModified == other.DateModified;