public Version GetAppVersion(AppArchitecture_t appArch) { Version ver; m_appVersions.TryGetValue(appArch, out ver); return(ver); }
public AppUpdate(uint id, Version ver, AppArchitecture_t appArch, DateTime tmCreation) : base(id) { Version = ver; AppArchitecture = appArch; CreationTime = tmCreation; DeployTime = NOT_YET; }
public void Read(IReader reader) { Assert(reader != null); byte arch = reader.ReadByte(); if (!Enum.IsDefined(typeof(AppArchitecture_t), arch)) { throw new CorruptedStreamException(); } HubArchitecture = (AppArchitecture_t)arch; Is64BitOperatingSystem = reader.ReadBoolean(); UserName = reader.ReadString(); MachineName = reader.ReadString(); OSVersion = reader.ReadString(); HubVersion = reader.ReadString(); }
public ArchitectureItemHolder(AppArchitecture_t arch) { Architecture = arch; }
public static string GetArchitectureName(AppArchitecture_t sys) => m_archNames[(byte)sys];
public AppUpdate(uint id, Version ver, AppArchitecture_t appArch) : this(id, ver, appArch, DateTime.Now) { }