/// <summary> /// Static information which isn't changed after boot /// </summary> /// <returns></returns> public static StaticInfo GetStaticInfo() { StaticInfo si = new StaticInfo() { OperatingSystemFriendlyName = ReplaceName(FriendlyName()).Trim(), OperatingSystemVersion = ReplaceName(Environment.OSVersion.ToString().Trim()), ServiceTag = GetServiceTag(), MachineName = Environment.MachineName, }; return(si); }
public WinLLDP(StaticInfo si) { StaticInformation = si; }