Example #1
0
            //public static string deviceUniqueIdentifier { get; set; }
            //public static int graphicsDeviceID { get; set; }

            /*
             * public static string graphicsDeviceName { get; set; }
             * public static string graphicsDeviceType { get; set; }
             * public static string graphicsDeviceVersion { get; set; }
             * public static int graphicsMemorySize { get; set; }
             * public static int maxTextureSize { get; set; }
             * public static int systemMemorySize { get; set; }
             * public static string operatingSystem { get; set; }
             * public static string operatingSystemFamily { get; set; }
             * public static int processorCount { get; set; }
             * public static int processorFrequency { get; set; }
             * public static string processorType { get; set; }
             */
            public STSystemInfo()
            {
                configVer   = GetCurrentConfigVersion().GetVersion();
                clientVer   = GetBuildVersion();
                platform    = CurrentPlatform.ToString();
                server      = GetCurrentConfigServerIP() + ":" + GetCurrentConfigServerPORT().ToString();
                deviceModel = SystemInfo.deviceModel;
                deviceName  = SystemInfo.deviceName;
                deviceType  = SystemInfo.deviceType.ToString();
                //deviceUniqueIdentifier = SystemInfo.deviceUniqueIdentifier;
                //graphicsDeviceID = SystemInfo.graphicsDeviceID;

                /*
                 * graphicsDeviceName = SystemInfo.graphicsDeviceName;
                 * graphicsDeviceType = SystemInfo.graphicsDeviceType.ToString();
                 * graphicsDeviceVersion = SystemInfo.graphicsDeviceVersion;
                 * graphicsMemorySize = SystemInfo.graphicsMemorySize;
                 * systemMemorySize = SystemInfo.systemMemorySize;
                 * maxTextureSize = SystemInfo.maxTextureSize;
                 * operatingSystem = SystemInfo.operatingSystem;
                 * operatingSystemFamily = SystemInfo.operatingSystemFamily.ToString();
                 * processorCount = SystemInfo.processorCount;
                 * processorFrequency = SystemInfo.processorFrequency;
                 * processorType = SystemInfo.processorType;
                 */
            }
Example #2
0
 public override string?ToString() => CurrentPlatform?.ToString();