Exemple #1
0
        /// <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);
        }
Exemple #2
0
 public WinLLDP(StaticInfo si)
 {
     StaticInformation = si;
 }